-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathcompose.aio.yml
More file actions
72 lines (69 loc) · 3.05 KB
/
Copy pathcompose.aio.yml
File metadata and controls
72 lines (69 loc) · 3.05 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
62
63
64
65
66
67
68
69
70
71
72
services:
web:
# image: ghcr.io/calagopus/panel:nightly-aio # if you want to live on the edge
image: ghcr.io/calagopus/panel:aio
restart: unless-stopped
environment:
- TZ=Europe/Berlin
- REDIS_URL=redis://cache
- DATABASE_URL=postgresql://panel:panel@db/panel
- DATABASE_MIGRATE=true
- PORT=8000
- AIO_BASE_WINGS_CONFIGURATION=/wings-config.yml
- 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
dns:
- 1.1.1.1
- 8.8.8.8
- 9.9.9.9
volumes:
# --- panel
- ./data:/var/lib/calagopus
- ./logs:/var/log/calagopus
# --- wings
- ./wings-config.yml:/wings-config.yml
- "/var/run/docker.sock:/var/run/docker.sock"
- "/var/lib/docker/containers/:/var/lib/docker/containers/"
# this is exclusively for the main wings configuration file, called config.yml
- "/etc/calagopus-wings/:/etc/calagopus-wings/"
# if you split /var/lib/calagopus-wings up, make sure the following paths are all still covered by a volume:
# /var/lib/calagopus-wings/volumes (used for storing server files)
# /var/lib/calagopus-wings/diffs (used for storing file history diffs)
# /var/lib/calagopus-wings/vmounts (used for storing temporary mountpoints, DO NOT put this on a tmpfs, thats why its separate)
# /var/lib/calagopus-wings/archives (unused for wings-rs currently, may get a future use)
# /var/lib/calagopus-wings/backups (used for storing local backups of servers)
- "/var/lib/calagopus-wings/:/var/lib/calagopus-wings/"
- "/var/log/calagopus-wings/:/var/log/calagopus-wings/"
- "/tmp/calagopus-wings/:/tmp/calagopus-wings/"
ports:
- 8000:8000
- 2022:2022 # sftp port for integrated wings
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