Skip to content

Commit 66269d8

Browse files
author
nrgnr
committed
chore: update build-branch workflow to include APP_RELEASE variable (makeplane#6990)
1 parent 461e099 commit 66269d8

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed

docker-compose.core.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
version: '3.9'
2+
3+
services:
4+
plane-db:
5+
container_name: plane-db
6+
image: postgres:15.7-alpine
7+
restart: always
8+
command: postgres -c 'max_connections=1000'
9+
volumes:
10+
- pgdata:/var/lib/postgresql/data
11+
env_file:
12+
- .env
13+
environment:
14+
POSTGRES_USER: ${POSTGRES_USER}
15+
POSTGRES_DB: ${POSTGRES_DB}
16+
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
17+
PGDATA: /var/lib/postgresql/data
18+
networks:
19+
- internal
20+
healthcheck:
21+
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
22+
interval: 10s
23+
timeout: 5s
24+
retries: 5
25+
26+
plane-redis:
27+
container_name: plane-redis
28+
image: valkey/valkey:7.2.5-alpine
29+
restart: always
30+
volumes:
31+
- redisdata:/data
32+
networks:
33+
- internal
34+
healthcheck:
35+
test: ["CMD", "redis-cli", "ping"]
36+
interval: 10s
37+
timeout: 3s
38+
retries: 5
39+
40+
plane-mq:
41+
container_name: plane-mq
42+
image: rabbitmq:3.13.6-management-alpine
43+
restart: always
44+
env_file:
45+
- .env
46+
environment:
47+
RABBITMQ_DEFAULT_USER: ${RABBITMQ_USER}
48+
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_PASSWORD}
49+
RABBITMQ_DEFAULT_VHOST: ${RABBITMQ_VHOST}
50+
volumes:
51+
- rabbitmq_data:/var/lib/rabbitmq
52+
networks:
53+
- internal
54+
healthcheck:
55+
test: ["CMD", "rabbitmq-diagnostics", "status"]
56+
interval: 10s
57+
timeout: 5s
58+
retries: 5
59+
60+
plane-minio:
61+
container_name: plane-minio
62+
image: minio/minio
63+
restart: always
64+
command: server /export --console-address ":9090"
65+
volumes:
66+
- uploads:/export
67+
environment:
68+
MINIO_ROOT_USER: ${AWS_ACCESS_KEY_ID}
69+
MINIO_ROOT_PASSWORD: ${AWS_SECRET_ACCESS_KEY}
70+
networks:
71+
- internal
72+
healthcheck:
73+
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
74+
interval: 10s
75+
timeout: 3s
76+
retries: 5
77+
78+
networks:
79+
internal:
80+
external: true
81+
82+
volumes:
83+
pgdata:
84+
redisdata:
85+
uploads:
86+
rabbitmq_data:

0 commit comments

Comments
 (0)