-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
49 lines (49 loc) · 1.31 KB
/
docker-compose.yml
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
services:
caddy:
image: caddy:2.7
restart: always
ports:
- 2000:2000
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
db:
image: postgres:15
restart: always
healthcheck:
test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}" ]
interval: 1s
timeout: 5s
retries: 30
environment:
POSTGRES_USER: planera
POSTGRES_PASSWORD: planera
POSTGRES_DB: planera
volumes:
- ./data/db:/var/lib/postgresql/data
planera-api:
image: ghcr.io/paddim8/planera-api:latest
restart: always
depends_on:
db:
condition: service_healthy
environment:
PLANERA_FRONTENDURL: http://localhost:2000
PLANERA_EMAILCONFIRMATION: "false"
PLANERA_DISABLEREGISTRATION: "false"
PLANERA_POSTGRES__HOST: "db:5432"
PLANERA_POSTGRES__USER: planera
PLANERA_POSTGRES__PASSWORD: planera
PLANERA_POSTGRES__DB: planera
PLANERA_SMTP__HOST: ""
PLANERA_SMTP__PORT: ""
PLANERA_SMTP__USER: ""
PLANERA_SMTP__PASSWORD: ""
PLANERA_SMTP__SENDER: ""
volumes:
- ./data/api:/app/data
planera-web:
image: ghcr.io/paddim8/planera-web:latest
restart: always
environment:
ORIGIN: http://localhost:2000
VITE_PUBLIC_API_URL: https://localhost:2000/api