Files
CDN-APP-INSIDER/docker-compose.yml
Dinawo 9a5b4c20cb
All checks were successful
continuous-integration/drone/push Build is passing
Update Dockerfile and docker-compose.yml to use new directory structure
2024-04-14 16:22:10 +02:00

20 lines
552 B
YAML

version: '3.8'
services:
cdn-app-insider:
image: swiftlogiclabs/cdn-app-insider:latest
restart: unless-stopped
container_name: cdn-app-container
ports:
- "5053:5053"
volumes:
- /home/cdn-app:/home/cdn-app
- cdn-files:/home/cdn-app/cdn-files
- report:/home/cdn-app/report
- data:/home/cdn-app/data
command: sh -c "if [ ! -f /home/cdn-app/moved_files ]; then mv /app/cdn-app-insider/* /home/cdn-app && touch /home/cdn-app/moved_files; fi && node server.js"
volumes:
cdn-files:
report:
data: