Docker image, & local development docker-compose.yml #2
@ -8,7 +8,7 @@ services:
|
||||
volumes:
|
||||
- "./:/app/code"
|
||||
- "../tank:/tank"
|
||||
- "/var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock"
|
||||
# - "/var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock"
|
||||
depends_on:
|
||||
- db
|
||||
ports:
|
||||
@ -23,8 +23,6 @@ services:
|
||||
# The image uses gunicorn by default, let's override it with Flask's
|
||||
# built-in development server
|
||||
command: ["flask", "run", "-h", "0.0.0.0", "-p", "5000"]
|
||||
devices:
|
||||
- "/dev/kvm:/dev/kvm"
|
||||
db:
|
||||
image: "postgres:9.6.5-alpine"
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user