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:
|
||||
app:
|
||||
image: swiftlogiclabs/cdn-app-insider
|
||||
ports:
|
||||
- 5053:5053
|
||||
volumes:
|
||||
- data-volume:/app/data
|
||||
- report-volume:/app/report
|
||||
- cdn-files-volume:/app/cdn-files
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
data-volume:
|
||||
report-volume:
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
"description": "",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "node server.js"
|
||||
"start": "node models/fileCreated.js && node server.js"
|
||||
},
|
||||
"author": "Dinawo - Group SwiftLogic Labs",
|
||||
"license": "ISC",
|
||||
|
||||
Reference in New Issue
Block a user