mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-04-14 01:13:28 -07:00
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
This commit is contained in:
committed by
Adrian Priestley
parent
62a33b0022
commit
2af68c57a4
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user