fix: add SSH tunnel startup script, docker-compose uses start.sh
This commit is contained in:
+2
-4
@@ -6,13 +6,11 @@ services:
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./dashboard/app.py:/app/app.py:ro
|
||||
- ./dashboard/start.sh:/app/start.sh:ro
|
||||
- /home/ubuntu/.ssh/vigile_backup:/ssh/vigile.key:ro
|
||||
- ./src/config:/app/src/config
|
||||
- ./tools:/app/tools:ro
|
||||
command: >
|
||||
sh -c "apk add --no-cache openssh-client &&
|
||||
pip install flask psycopg2-binary --quiet &&
|
||||
python app.py"
|
||||
command: sh -c 'apk add --no-cache openssh-client && pip install flask psycopg2-binary --quiet && sh /app/start.sh'
|
||||
networks:
|
||||
- proxy-nw
|
||||
extra_hosts:
|
||||
|
||||
Reference in New Issue
Block a user