-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
44 lines (43 loc) · 1.22 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
44 lines (43 loc) · 1.22 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
version: "3"
services:
hui-pass:
image: dacongda/auth-center-beta:master
container_name: hui-pass
restart: always
# volumes:
environment:
- ConnectionStrings__UserContext=Host=postgres-auth;Username=root;Password=123456;Database=hui_pass
- ConnectionStrings__RedisContext=redis-auth:6379
ports:
- "0.0.0.0:8080:8080"
logging:
driver: "json-file"
options:
max-size: "20m"
depends_on:
- redis-auth
- postgres-auth
postgres-auth:
image: postgres:17
container_name: postgres-auth
restart: always
volumes:
- ./data/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=123456
# ports:
# - "0.0.0.0:5432:5432"
logging:
driver: "json-file"
options:
max-size: "20m"
redis-auth:
image: redis/redis-stack:latest
container_name: redis-auth
restart: always
privileged: true
logging:
driver: "json-file"
options:
max-size: "20m"