-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
29 lines (28 loc) · 919 Bytes
/
docker-compose.yml
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
version: '3.8'
services:
altserver:
# Optional build configuration
# build:
# context: .
# dockerfile: Dockerfile
image: dreth/altserver-docker:latest
container_name: altserver
volumes:
- "./lib:/root/.config/Provision/lib"
- "./bin:/altserver/bin"
- "./logs:/altserver/logs"
- "/dev/bus/usb:/dev/bus/usb"
- "/var/lib/lockdown:/var/lib/lockdown"
- "/var/run:/var/run"
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
network_mode: host
# Optional environment variables to override the default architecture
# for the altserver, netmuxd, and anisette binaries.
# environment:
# - OVERRIDE_ALTSERVER_ARCH=x86_64
# - OVERRIDE_NETMUXD_ARCH=x86_64
# - OVERRIDE_ANISETTE_ARCH=x86_64
# - OVERRIDE_PROVISION_LIBS_ARCH=x86_64
# - ALLOW_PROVISION_TO_DOWNLOAD_LIBS=true
privileged: true
restart: unless-stopped