forked from calagopus/panel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
45 lines (43 loc) · 1.39 KB
/
Copy pathcompose.yml
File metadata and controls
45 lines (43 loc) · 1.39 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
services:
web:
image: ghcr.io/calagopus/panel:latest
restart: unless-stopped
environment:
- TZ=Europe/Berlin
- REDIS_URL=redis://cache
- DATABASE_URL=postgresql://panel:panel@db/panel
- DATABASE_MIGRATE=true
- PORT=8000
- APP_DEBUG=false
- APP_LOG_DIRECTORY=/var/log/calagopus
- APP_PRIMARY=true # sets whether this panel instance is responsible for running background tasks (e.g. cleanup)
- APP_ENCRYPTION_KEY=CHANGEME
- APP_USE_DECRYPTION_CACHE=true # caches decrypted values in memory and redis to improve performance, can be considered less secure
- APP_USE_INTERNAL_CACHE=true # caches short-lived values in app memory and redis instead of just redis, improves performance at the cost of higher memory usage
volumes:
- ./data:/var/lib/calagopus
- ./logs:/var/log/calagopus
ports:
- 8000:8000
depends_on:
- db
- cache
db:
image: ghcr.io/calagopus/pgautoupgrade:18-alpine
restart: unless-stopped
environment:
- TZ=Europe/Berlin
- POSTGRES_USER=panel
- POSTGRES_PASSWORD=panel
- POSTGRES_DB=panel
- PGDATA=/data
volumes:
- ./postgres:/data
cache:
image: ghcr.io/calagopus/valkey:latest
restart: unless-stopped
command: --protected-mode no --save 60 1
environment:
TZ: Europe/Berlin
volumes:
- ./cache:/data