-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
71 lines (67 loc) · 1.54 KB
/
docker-compose.override.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
version: "3.5"
services:
web:
build:
context: ./backend/
target: rust-base
depends_on:
- db
volumes:
- "./backend/:/usr/src/backend/"
labels:
- traefik.http.routers.api.rule=Host(`lvh.me`)
faktory:
labels:
- traefik.http.routers.jobs.rule=Host(`faktory.lvh.me`)
faktory_worker:
build:
context: ./backend/worker/
target: development
volumes:
- "./backend/worker/:/usr/src/worker/"
- "./backend/.env:/usr/src/worker/.env"
notifications:
build:
context: ./notifications/
target: development
volumes:
- "./notifications/:/usr/src/notifications/"
sso:
build:
context: ./sso/
target: development
volumes:
- "./sso/:/usr/src/sso/"
labels:
- traefik.http.routers.sso.rule=Host(`sso.lvh.me`)
environment:
- ISSUER=http://sso.lvh.me
identity:
depends_on:
- db
build:
context: ./identity/
target: development
volumes:
- "./identity/:/usr/src/identity/"
environment:
- POSTGRES_URL="postgres://postgres:postgres@db:5432"
db:
image: "postgres:12"
ports:
- "5432:5432"
restart: unless-stopped
environment:
- LOG_LEVEL=debug
- POSTGRES_PASSWORD=postgres
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
redis:
# command and volume is overridden in docker-compose.production.yml
image: "redis:6-alpine"
restart: unless-stopped
ports:
- "6379:6379"