-
-
Notifications
You must be signed in to change notification settings - Fork 104
/
docker-compose.yml
39 lines (37 loc) · 952 Bytes
/
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
name: lumen
volumes:
postgres_data:
services:
db:
image: postgres:15.1-alpine
container_name: lumina-postgres
healthcheck:
test: ["CMD", "pg_isready", "-U", "lumina"]
interval: 5s
retries: 10
timeout: 5s
environment:
POSTGRES_USER: lumina
POSTGRES_DB: lumina
POSTGRES_PASSWORD: 1
expose:
- "5432"
volumes:
- postgres_data:/var/lib/postgresql
mem_swappiness: 0
lumina:
build: .
image: ghcr.io/naim94a/lumen:master
depends_on:
db:
condition: service_healthy
ports:
- 1234:1234
- 8082:8082
environment:
PKCSPASSWD: $PKCSPASSWD
DATABASE_URL: postgres://lumina:1@db/lumina
volumes:
- ./dockershare:/dockershare
links:
- db