checkout/docker-compose.yaml

35 lines
632 B
YAML
Raw Permalink Normal View History

2022-04-24 15:51:25 +02:00
version: '2.4'
services:
django:
2022-04-25 22:03:43 +02:00
image: crocmagnon/checkout:dev
2022-04-24 15:51:25 +02:00
build:
context: .
args:
POETRY_OPTIONS: "--no-dev"
env_file:
- envs/docker-local.env
volumes:
- ./db:/app/db
- staticfiles:/app/staticfiles
- media:/app/media
restart: on-failure
init: true
tty: true
ports:
- "8000:8000"
2022-04-25 22:23:55 +02:00
grafana:
image: grafana/grafana-oss
volumes:
- grafana:/var/lib/grafana
- ./db:/app/db
environment:
- GF_INSTALL_PLUGINS=frser-sqlite-datasource
ports:
- "3000:3000"
2022-04-24 15:51:25 +02:00
volumes:
staticfiles: {}
media: {}
2022-04-25 22:03:43 +02:00
grafana: {}