-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
81 lines (76 loc) · 1.73 KB
/
docker-compose.yml
File metadata and controls
81 lines (76 loc) · 1.73 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
services:
postgres:
container_name: outposts-postgres
image: postgres:18-alpine
env_file: .env
environment:
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
POSTGRES_USER: "outposts"
POSTGRES_DB: "postgres"
restart: unless-stopped
volumes:
- ./postgres/data:/var/lib/postgresql
- ./postgres/init.sh:/docker-entrypoint-initdb.d/init.sh
ports:
- 9005:5432
networks:
- outposts
healthcheck:
test:
- "CMD-SHELL"
- "pg_isready -h 127.0.0.1 -d $${POSTGRES_DB} -U $${POSTGRES_USER}"
interval: 5s
timeout: 5s
retries: 20
confluence:
container_name: confluence
build:
context: .
dockerfile: ./apps/confluence/Dockerfile.dev
env_file: .env
restart: unless-stopped
ports:
- 9003:4001
networks:
- outposts
depends_on:
postgres:
condition: service_healthy
outposts-web:
container_name: outposts-web
build:
context: .
dockerfile: ./apps/outposts-web/Dockerfile.dev
env_file: .env
restart: unless-stopped
ports:
- 9004:80
volumes:
- outposts-web-shared:/shared
networks:
- outposts
depends_on:
confluence:
condition: service_started
outposts-web-host:
condition: service_started
outposts-web-host:
container_name: outposts-web-host
build:
context: .
dockerfile: ./apps/outposts-web-host/Dockerfile.dev
env_file: .env
restart: unless-stopped
volumes:
- outposts-web-shared:/shared
networks:
- outposts
depends_on:
confluence:
condition: service_started
volumes:
outposts-web-shared:
networks:
outposts:
name: outposts
driver: bridge