-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathcompose.heavy.yml
More file actions
53 lines (51 loc) · 2.03 KB
/
compose.heavy.yml
File metadata and controls
53 lines (51 loc) · 2.03 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
services:
web:
# image: ghcr.io/calagopus/panel:nightly-heavy # if you want to live on the edge
image: ghcr.io/calagopus/panel:heavy
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_ENABLE_WINGS_PROXY=true # enables the wings proxy feature, allowing the panel to proxy user requests to wings nodes, simplifies home network setups, not recommended for many nodes or high traffic setups
- 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
- ./build/binaries:/app/binaries
- ./build/translations:/app/translations
- ./build/extensions:/app/extensions
- ./build/extension-migrations:/app/repo/database/extension-migrations
ports:
- 8000:8000
extra_hosts: # mainly useful when importing from a standalone installation, can be omitted otherwise
- "host.docker.internal:host-gateway"
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