qchgk_web_docker/docker-compose.yml
2019-08-20 16:24:39 +03:00

23 lines
460 B
YAML

version: '2'
services:
qchgk:
build:
context: src
dockerfile: ../Dockerfile
image: 'b4tman/qchgk:rocket'
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'