Make docker-compose file less demanding
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build is passing

This commit is contained in:
3wc 2021-07-21 11:38:01 +02:00
parent 2e6894ad14
commit fc7e264178

View File

@ -8,7 +8,7 @@ services:
volumes: volumes:
- "./:/app/code" - "./:/app/code"
- "../tank:/tank" - "../tank:/tank"
- "/var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock" # - "/var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock"
depends_on: depends_on:
- db - db
ports: ports:
@ -23,8 +23,6 @@ services:
# The image uses gunicorn by default, let's override it with Flask's # The image uses gunicorn by default, let's override it with Flask's
# built-in development server # built-in development server
command: ["flask", "run", "-h", "0.0.0.0", "-p", "5000"] command: ["flask", "run", "-h", "0.0.0.0", "-p", "5000"]
devices:
- "/dev/kvm:/dev/kvm"
db: db:
image: "postgres:9.6.5-alpine" image: "postgres:9.6.5-alpine"
volumes: volumes: