mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-22 07:35:37 -07:00
- 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
23 lines
416 B
YAML
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:
|