Add port mapping and restart policy to app service in docker-compose.yml
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -2,10 +2,13 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: swiftlogiclabs/cdn-app-insider
|
image: swiftlogiclabs/cdn-app-insider
|
||||||
|
ports:
|
||||||
|
- 5053:5053
|
||||||
volumes:
|
volumes:
|
||||||
- data-volume:/app/data
|
- data-volume:/app/data
|
||||||
- report-volume:/app/report
|
- report-volume:/app/report
|
||||||
- cdn-files-volume:/app/cdn-files
|
- cdn-files-volume:/app/cdn-files
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
data-volume:
|
data-volume:
|
||||||
report-volume:
|
report-volume:
|
||||||
|
|||||||
@@ -4,8 +4,7 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"start": "node models/fileCreated.js && node server.js"
|
||||||
"start": "node server.js"
|
|
||||||
},
|
},
|
||||||
"author": "Dinawo - Group SwiftLogic Labs",
|
"author": "Dinawo - Group SwiftLogic Labs",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|||||||
Reference in New Issue
Block a user