-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
37 lines (36 loc) · 836 Bytes
/
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
version: '3'
services:
redis:
image: redis:7-alpine
restart: unless-stopped
command: '--requirepass password --io-threads 2'
ports:
- 6379:6379
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=password
ports:
- 5432:5432
volumes:
- postgres:/var/lib/postgresql/data
dmrhub:
build: .
restart: unless-stopped
environment:
- REDIS_HOST=redis:6379
- PG_HOST=postgres
- SECRET=changeme
- PASSWORD_SALT=alsochangeme
- CORS_HOSTS=http://localhost:3005,http://127.0.0.1:3005
- INIT_ADMIN_USER_PASSWORD=changeme
- DEBUG=1
ports:
- 3005:3005
- 62031:62031/udp
- 62032:62032/udp
volumes:
postgres: