Add docker-compose.yml
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
dash:
|
||||
image: python:3.11-alpine
|
||||
container_name: dash
|
||||
restart: unless-stopped
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./app.py:/app/app.py:ro
|
||||
- ./index.html:/app/index.html:ro
|
||||
- /home/ubuntu/wiki/pipeline_state.json:/data/pipeline_state.json:ro
|
||||
- /home/ubuntu/wiki/pipeline.log:/data/pipeline.log:ro
|
||||
- /home/ubuntu/fallout/ingest.log:/data/fallout_ingest.log:ro
|
||||
- /home/ubuntu/fallout/ingest_state.json:/data/fallout_state.json:ro
|
||||
- /proc:/proc:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /home/ubuntu/.ssh/guardian.key:/ssh/guardian.key:ro
|
||||
- /home/ubuntu/.ssh/vigile_backup:/ssh/vigile.key:ro
|
||||
command: python app.py
|
||||
networks:
|
||||
- proxy-nw
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
networks:
|
||||
proxy-nw:
|
||||
external: true
|
||||
Reference in New Issue
Block a user