Add fallout-visu compose
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
services:
|
||||||
|
fallout-visu:
|
||||||
|
image: python:3.11-alpine
|
||||||
|
container_name: fallout-visu
|
||||||
|
restart: unless-stopped
|
||||||
|
working_dir: /app
|
||||||
|
volumes:
|
||||||
|
- ./app.py:/app/app.py:ro
|
||||||
|
- /home/ubuntu/.ssh/vigile_backup:/ssh/vigile.key:ro
|
||||||
|
command: >
|
||||||
|
sh -c "apk add --no-cache openssh-client &&
|
||||||
|
pip install flask psycopg2-binary --quiet &&
|
||||||
|
python app.py"
|
||||||
|
networks:
|
||||||
|
- proxy-nw
|
||||||
|
environment:
|
||||||
|
- PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy-nw:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user