-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev.yaml
45 lines (39 loc) · 1.25 KB
/
dev.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "3.7"
# https://cardbox.sova.dev
volumes:
postgres-storage:
driver: local
driver_opts:
type: none
device: "/usr/local/var/cardbox/postgres"
o: bind
services:
traefik:
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./services/traefik/traefik.yml:/etc/traefik/traefik.yml:ro
- ./services/traefik/config.yml:/etc/traefik/config.yml:ro
labels:
traefik.http.routers.traefik-secure.tls.certresolver: "le"
traefik.http.routers.traefik-secure.middlewares: "dashboard-auth@file"
grafana:
labels:
traefik.http.routers.grafana.tls.certresolver: "le"
api-internal:
image: ghcr.io/cardbox/backend/api-internal:latest
environment:
CARDBOX_DATABASE__SSL_VALIDATE: "false"
CARDBOX_SERVER__USE_SSL: ${CARDBOX_SERVER__USE_SSL}
CARDBOX_SERVER__USE_H1: "true"
labels:
traefik.http.routers.api-internal.tls.certresolver: "le"
frontend:
image: ghcr.io/cardbox/frontend/main:latest
labels:
traefik.http.routers.frontend.tls.certresolver: "le"
environment:
PUBLIC_URL: https://cardbox.sova.dev
IMAGE_URL: https://cardbox.sova.dev/images
RAZZLE_SESSION_TOKEN: ${RAZZLE_SESSION_TOKEN}
USE_SSL: "false"
DEBUG: "true"