-
-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
90 lines (84 loc) · 2.05 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
90 lines (84 loc) · 2.05 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
services:
db:
image: postgres:16-alpine
ports:
- '5432:5432'
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=tamery
command: [postgres, -c, wal_level=logical]
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
healthcheck:
test: [CMD-SHELL, pg_isready -U postgres]
interval: 10s
timeout: 5s
retries: 5
redis:
image: redis/redis-stack:7.2.0-v19
restart: always
ports:
- '6379:6379'
- '8001:8001'
environment:
- REDIS_ARGS="--requirepass root"
volumes:
- redis_data:/data
healthcheck:
test: [CMD, redis-cli, -a, root, ping]
interval: 10s
timeout: 5s
retries: 5
infisical-db:
image: postgres:16-alpine
ports:
- '5433:5432'
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=infisical
volumes:
- infisical_postgres_data:/var/lib/postgresql/data
restart: unless-stopped
networks:
- infisical
healthcheck:
test: [CMD-SHELL, pg_isready -U postgres]
interval: 10s
timeout: 5s
retries: 5
infisical-redis:
image: redis/redis-stack:7.2.0-v19
restart: unless-stopped
volumes:
- infisical_redis_data:/data
networks:
- infisical
infisical:
image: infisical/infisical:v0.159.28
restart: unless-stopped
depends_on:
infisical-db:
condition: service_healthy
infisical-redis:
condition: service_started
ports:
- '8082:8080'
environment:
- NODE_ENV=production
- ENCRYPTION_KEY=devfe4e407b8cfb185b406438a42a777
- AUTH_SECRET=devERxgNsBMhQkMpMdn6MknRbjRsSvCx
- DB_CONNECTION_URI=postgres://postgres:postgres@infisical-db:5432/infisical
- REDIS_URL=redis://infisical-redis:6379
- SITE_URL=http://localhost:8082
networks:
- infisical
volumes:
postgres_data:
redis_data:
infisical_postgres_data:
infisical_redis_data:
networks:
infisical: