-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (51 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
55 lines (51 loc) · 1.16 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
services:
redis:
container_name: redis
image: "valkey/valkey:latest"
command: valkey-server
ports:
- "6379:6379"
networks:
- provider_net
postgres:
container_name: postgres
image: "postgres:latest"
ports:
- "5432:5432"
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
volumes:
- ./postgres_data:/var/lib/postgresql/data
- ./init-db.sh:/docker-entrypoint-initdb.d/init-db.sh
networks:
- provider_net
openbao:
container_name: openbao
image: "openbao/openbao:latest"
ports:
- "8200:8200"
environment:
OPENBAO_DEV_LISTEN_ADDRESS: "0.0.0.0:8200"
cap_add:
- IPC_LOCK
volumes:
- ./openbao_data:/openbao/data
networks:
- provider_net
command: 'server -dev -dev-root-token-id="root"'
mailhog:
image: mailhog/mailhog
platform: linux/amd64
restart: always
command: MailHog -auth-file=/etc/mailhog-auth.txt
volumes:
- ./mailhog-auth.txt:/etc/mailhog-auth.txt
ports:
- "1025:1025"
- "8025:8025"
networks:
- provider_net
networks:
provider_net:
driver: bridge