-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
85 lines (81 loc) · 1.69 KB
/
docker-compose.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
services:
backend:
build:
context: .
dockerfile: ./docker/backend/Dockerfile
target: php-local
environment:
- DEBUG
- ENVIRONMENT
- RELEASE
- SECURITY_SALT
- MAIN_DOMAIN
- DATABASE_HOST
- DATABASE_USER
- DATABASE_PASSWORD
- DATABASE_NAME
- LOG_DEBUG_URL
- LOG_ERROR_URL
- SLACK_CLIENT_ID
- SLACK_CLIENT_SECRET
- SLACK_SIGNING_SECRET
- SLACK_TEAM_ID
- SLACK_REDIRECT_URI
- SLACK_BOT_USER_OAUTH_TOKEN
- SENTRY_BACKEND_DSN
- SENTRY_FRONTEND_DSN
- SENTRY_AUTH_TOKEN
- POTAL_TOKEN
- POTATO_CHANNEL
- POTATO_SLACK_USER_ID
- RELAY_SECRET_KEY
- RELAY_PUBLIC_KEY
- RELAY_ID
- RELAY_LOG_LEVEL
depends_on:
- db
- potal
ports:
- 8080:8080
volumes:
- .:/var/www/gib-potato:consistent
networks:
gib-potato:
aliases:
- gib-potato.test
potal:
build:
context: .
dockerfile: ./docker/potal/Dockerfile
environment:
- ENVIRONMENT
- RELEASE
- SLACK_BOT_USER_OAUTH_TOKEN
- SLACK_SIGNING_SECRET
- SENTRY_POTAL_DSN
- POTAL_URL
- POTAL_TOKEN
ports:
- 3000:3000
networks:
gib-potato:
aliases:
- potal.gib-potato.test
db:
image: postgres:14
restart: always
environment:
POSTGRES_USER: gib_potato
POSTGRES_PASSWORD: password
volumes:
- db:/var/lib/postgresql/data
ports:
- 8432:5432
networks:
gib-potato:
aliases:
- db.gib-potato.test
volumes:
db:
networks:
gib-potato: