comixify/docker-compose.yml
Adam Svystun 47e5ea3231
Popularity (#10)
* Add popularity

* Update popularity model to dockerfile

* Fix dockerfile

* Revert "Fix dockerfile"

This reverts commit ea24fba604.

* Fix dockerfile

* Fix filename

* Fix filename

* Fix mkdir

* Fix mkdir

* Fix #9

* Zip popularity model

* Fix model filename

* Remove comixify volume

* Fix minimum number of segments

* Add debug print

* Update model 1 file
2018-10-16 21:56:22 +02:00

51 lines
No EOL
854 B
YAML

version: '2.3'
services:
db:
image: postgres:10
env_file:
- db.env
networks:
- db_network
volumes:
- db_volume:/var/lib/postgresql/data
web:
build: .
runtime: nvidia
volumes:
- static_volume:/comixify/static
- media_volume:/comixify/media
networks:
- nginx_network
- db_network
depends_on:
- db
environment:
- DEBUG=true
- PYTHONUNBUFFERED=1
tty: true
nginx:
image: nginx
ports:
- 80:80
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- static_volume:/comixify/static
- media_volume:/comixify/media
depends_on:
- web
networks:
- nginx_network
networks:
nginx_network:
driver: bridge
db_network:
driver: bridge
volumes:
db_volume:
static_volume:
media_volume: