-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
61 lines (57 loc) · 1.54 KB
/
Copy pathcompose.yaml
File metadata and controls
61 lines (57 loc) · 1.54 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
services:
arcane:
image: ghcr.io/getarcaneapp/arcane:latest
container_name: arcane
restart: unless-stopped
networks:
- arcane-network
ports:
- 3552:3552
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- arcane-data:/app/data
- arcane-data:/app/data/projects
environment:
- APP_URL=${APP_URL:-http://localhost:3552}
- PUID=${PUID:-3001}
- PGID=${PGID:-3001}
- ENCRYPTION_KEY=${ENCRYPTION_KEY}
- JWT_SECRET=${JWT_SECRET}
- LOG_LEVEL=${LOG_LEVEL:-info}
- LOG_JSON=${LOG_JSON:-false}
- POSTGRES_DB=${POSTGRES_DB:-arcane}
- POSTGRES_USER=${POSTGRES_USER:-arcane}
- OIDC_ENABLED=${OIDC_ENABLED:-false}
- DATABASE_URL=${DATABASE_URL}
depends_on:
- postgres
postgres:
image: postgres:17-alpine
container_name: arcane-postgres
restart: unless-stopped
networks:
- arcane-network
environment:
- POSTGRES_DB=${POSTGRES_DB:-arcane}
- POSTGRES_USER=${POSTGRES_USER:-arcane}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- postgres-data:/var/lib/postgresql/data
#ports: # No port exposure needed - Arcane can access via arcane-network via postgres:5432
#- 5432:5432
volumes:
arcane-data:
driver: local
driver_opts:
type: none
device: /mnt/SSD/Containers/arcane
o: bind
postgres-data:
driver: local
driver_opts:
type: none
device: /mnt/SSD/Containers/arcane-postgres
o: bind
networks:
arcane-network:
driver: bridge