Repository navigation
Expand file tree
/
Copy pathcompose.yml
More file actions
36 lines (36 loc) · 1.85 KB
/
Copy pathcompose.yml
File metadata and controls
36 lines (36 loc) · 1.85 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
services:
wings:
image: calagopus/wings:latest
restart: unless-stopped
environment:
TZ: "Europe/Berlin"
WINGS_UID: 988
WINGS_GID: 988
WINGS_USERNAME: calagopus
dns:
- 1.1.1.1
- 1.0.0.1
# host pid lets wings reach server containers' network namespaces (bandwidth limits),
# host cgroup lets it resolve their cgroups for resource stats and cfs burst
pid: host
cgroup: host
volumes:
- "/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/tmp (used for staging installation scripts and extracted binaries)
# /var/lib/calagopus-wings/tundra (used for the tundra daemon config, identity, binary and control socket, mount the directory and NOT the socket file)
- "/var/lib/calagopus-wings/:/var/lib/calagopus-wings/"
- "/var/log/calagopus-wings/:/var/log/calagopus-wings/"
# do not mount directly to /etc/ssl/certs (right side), this will cause certificate issues within the container
- "/etc/ssl/certs/wings/:/etc/ssl/certs/wings/:ro"
ports:
- 8080:8080
- 2022:2022