-
-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
61 lines (59 loc) · 1.46 KB
/
docker-compose-dev.yml
File metadata and controls
61 lines (59 loc) · 1.46 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
#docker compose -f docker-compose-dev.yml up -d --build --no-deps
#docker compose -f docker-compose-dev.yml down
services:
riven:
build:
context: .
dockerfile: Dockerfile
no_cache: true
container_name: riven
restart: unless-stopped
tty: true
shm_size: 1024m
ports:
- "8080:8080"
environment:
- PUID=1000
- PGID=1000
- TZ=UTC
- ORIGIN=${RIVEN_ORIGIN:-http://localhost:8080}
devices:
- /dev/fuse
cap_add:
- SYS_ADMIN
security_opt:
- apparmor:unconfined
volumes:
- ./container_data/riven:/riven/data
- ./container_data/mount:/mount:rshared,z
depends_on:
riven_postgres:
condition: service_healthy
riven_postgres:
image: postgres:17-alpine
container_name: postgres
ports:
- "5432:5432"
restart: unless-stopped
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: riven
volumes:
- ./container_data/db:/var/lib/postgresql/data/pgdata
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
# jellyfin:
# image: jellyfin/jellyfin
# container_name: jellyfin
# user: 1000:1000
# restart: unless-stopped
# ports:
# - "8096:8096"
# volumes:
# - ./container_data/jellyfin:/config
# - ./container_data/mount:/mount:rslave,z