qchgk_web_docker/docker-compose.yml

23 lines
460 B
YAML
Raw Normal View History

2019-08-20 13:15:55 +00:00
version: '2'
services:
qchgk:
build:
context: src
2019-08-20 13:24:39 +00:00
dockerfile: ../Dockerfile
2019-08-20 13:22:23 +00:00
image: 'b4tman/qchgk:rocket'
2019-08-20 13:15:55 +00:00
container_name: 'qchgk'
ports:
- '8088:8088'
logging:
driver: json-file
options:
max-file: '5'
max-size: 10m
environment:
ROCKET_ENV: prod
ROCKET_PORT: 8088
# RUST_BACKTRACE: 1
# RUST_BACKTRACE: full
volumes:
- '/data/lab/docker/qchgk_web/db:/db/:ro'