-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (62 loc) · 1.85 KB
/
docker-compose.yml
File metadata and controls
66 lines (62 loc) · 1.85 KB
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
secrets:
pr-sandbox-github-webhook-secret:
file: dev/secrets/pr-sandbox-github-webhook-secret
pr-sandbox-github-private-key:
file: dev/secrets/pr-sandbox-github-private-key
pr-sandbox-pr-installation-id:
file: dev/secrets/pr-sandbox-pr-installation-id
pr-sandbox-cluster-installation-id:
file: dev/secrets/pr-sandbox-cluster-installation-id
pr-sandbox-mysql-connection-string:
file: dev/secrets/pr-sandbox-mysql-connection-string
pr-sandbox-redis-connection-string:
file: dev/secrets/pr-sandbox-redis-connection-string
pr-sandbox-argocd-webhook-auth:
file: dev/secrets/pr-sandbox-argocd-webhook-auth
pr-sandbox-argocd-readonly-user-password:
file: dev/secrets/pr-sandbox-argocd-readonly-user-password
pr-sandbox-extra-configs:
file: dev/secrets/pr-sandbox-extra-configs
services:
dev-db:
container_name: mysql-dev
image: mysql:8.0
environment:
MYSQL_DATABASE: pr_sandbox
MYSQL_USER: pr-sandbox-mysql-user
MYSQL_PASSWORD: pr-sandbox-mysql-password
MYSQL_RANDOM_ROOT_PASSWORD: yes
ports:
- "3306:3306"
volumes:
- db_data:/var/lib/mysql
dev-redis:
container_name: redis-dev
image: redis:8.4
ports:
- "6379:6379"
dev-app:
container_name: pr-sandbox-automation-dev-app
build:
context: .
dockerfile: Dockerfile.dev
env_file:
- dev/dev.env
depends_on:
- dev-db
secrets:
- pr-sandbox-github-webhook-secret
- pr-sandbox-github-private-key
- pr-sandbox-pr-installation-id
- pr-sandbox-cluster-installation-id
- pr-sandbox-mysql-connection-string
- pr-sandbox-redis-connection-string
- pr-sandbox-argocd-webhook-auth
- pr-sandbox-argocd-readonly-user-password
- pr-sandbox-extra-configs
ports:
- "8900:8900"
volumes:
- .:/app
volumes:
db_data: {}