Files
Archipelago/docker-compose.yml
Adrian Priestley 2af68c57a4 feat(docker): Updated Docker configuration for improved security and build efficiency
- Removed sensitive files from .dockerignore
- Moved WORKDIR to /app in Dockerfile
- Added gunicorn==23.0.0 dependency in RUN command
- Created new docker-compose.yml file for service definition
2025-01-04 09:48:57 -03:30

23 lines
416 B
YAML

services:
web:
build:
context: .
command: python WebHost.py
volumes:
- static_volume:/app/WebHostLib
- ./config.yaml:/app/config.yaml
expose:
- 5000
nginx:
image: nginx:stable-alpine
volumes:
- static_volume:/app/WebHostLib
- ./nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- 7235:80
depends_on:
- web
volumes:
static_volume: