Add port mapping and restart policy to app service in docker-compose.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-04-17 17:07:34 +02:00
parent d627bf5b6c
commit e097bd3222
2 changed files with 4 additions and 2 deletions

View File

@@ -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:

View File

@@ -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",