-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
62 lines (57 loc) · 1.39 KB
/
docker-compose-dev.yml
File metadata and controls
62 lines (57 loc) · 1.39 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
version: "3.9"
networks:
rms-sth-local-vpc:
driver: bridge
volumes:
dbdata: {}
shared: {}
services:
my-module-meilisearch:
image: getmeili/meilisearch:v0.28.1
ports:
- "${CDS_MEILISEARCH_PORT}"
networks:
- rms-sth-local-vpc
env_file:
- ./.env
environment:
- MEILI_MASTER_KEY=${CDS_MEILISEARCH_MASTER_KEY}
- MEILI_NO_ANALYTICS=${CDS_MEILISEARCH_NO_ANALYTICS}
container_name: my-module-meilisearch
volumes:
- shared:/tmp/rms-sth-debt-service
my-module-postgres:
image: postgres:14.5-bullseye
restart: always
env_file:
- ./.env
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
container_name: my-module-postgres
ports:
- '${CDS_POSTGRES_PORT}:5432'
volumes:
- dbdata:/var/lib/postgresql/data
- shared:/tmp/rms-sth-debt-service
my-module-bitnami-redis:
image: bitnami/redis:latest
env_file:
- ./.env
environment:
- ALLOW_EMPTY_PASSWORD=yes
- REDIS_DISABLE_COMMANDS=FLUSHDB,FLUSHALL,CONFIG
container_name: my-module-bitnami-redis-container
healthcheck:
test: [ "CMD-SHELL", "redis-cli ping | grep PONG" ]
interval: 1s
timeout: 3s
retries: 5
networks:
- rms-sth-local-vpc
stdin_open: true
tty: true
ports:
- '${CDS_REDIS_PORT}:6379'
expose:
- '${CDS_REDIS_PORT}'