-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (49 loc) · 1.03 KB
/
docker-compose.yml
File metadata and controls
49 lines (49 loc) · 1.03 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
version: "3.9"
services:
api:
image: ghcr.io/orphic-stellar-api:latest
build: ./api
restart: always
env_file:
- .env.api
depends_on:
db:
condition: service_healthy
networks:
- internal
ui:
image: ghcr.io/orphic/stellar-ui:latest
build: ./ui
restart: always
env_file:
- .env.ui
ports:
- "80:80"
- "443:443"
depends_on:
- api
networks:
- internal
- public
volumes:
- ./dhparam:/etc/nginx/dhparam:ro,Z
- ./volumes/proxy-certs:/etc/nginx/certs:ro,Z
- ./proxy.nginx.conf:/etc/nginx/nginx.conf:ro,Z
# - ./proxy-tls.nginx.conf:/etc/nginx/nginx.conf:ro,Z
db:
image: postgres:16-alpine
restart: always
env_file:
- .env.db
networks:
- internal
volumes:
- ./volumes/db-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
interval: 10s
timeout: 5s
retries: 5
networks:
public:
internal: