Make docker-compose file less demanding
This commit is contained in:
parent
2e6894ad14
commit
fc7e264178
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user