-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
43 lines (39 loc) · 1.01 KB
/
docker-compose.yaml
File metadata and controls
43 lines (39 loc) · 1.01 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
# noinspection ComposeUnknownKeys
name: "gallery-pixels"
services:
gallerypixels_api:
image: ghcr.io/brammys/gallerypixels.api:latest
restart: unless-stopped
container_name: gallerypixels_api
ports:
- "8080:8080"
environment:
ASPNETCORE_ENVIRONMENT: Production
depends_on:
- gallerypixels_pg
gallerypixels_ui:
image: ghcr.io/brammys/gallerypixels.ui:latest
restart: unless-stopped
container_name: gallerypixels_ui
ports:
- "80:80"
environment:
ASPNETCORE_ENVIRONMENT: Production
gallerypixels_pg:
image: postgres
restart: unless-stopped
container_name: gallerypixels_pg
ports:
- "5432:5432"
environment:
POSTGRES_USER: gallerypixels_pg_user
POSTGRES_PASSWORD: strong_password
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U gallerypixels_pg_user" ]
interval: 1s
timeout: 5s
retries: 10
volumes:
- gallerypixels_pgdata:/var/lib/postgresql/data
volumes:
gallerypixels_pgdata: