-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
48 lines (47 loc) · 1.9 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '3'
services:
tinfoil-hat:
labels:
# same scop used by watchtower to self update image
- "com.centurylinklabs.watchtower.scope=tinfoilhat"
container_name: tinfoil-hat
build: .
image: vinicioslc/tinfoil-hat:latest
hostname: tinfoil-hat
environment:
- DEBUG=*
# users list authorized to access tinfoil-hat
# user and password separated by ":" and users separated by ","
# <your-user>:<your-pass>,<another-user>:<another-pass> (this blocks browser access too)
# - AUTH_USERS=admin:123
- UNAUTHORIZED_MSG='No tricks and treats for you!!'
- WELCOME_MSG='The Server Just Works!!'
- NX_PORTS=5000 # ftp port used to sync saves
# - UNAUTHORIZED_MSG= # message shown when credentials are incorrect
# - NX_IPS= # devices ips that will be saves sync separated by ";"
# - SAVE_SYNC_INTERVAL= # interval in millisseconds that will try sync saves < 5000 will stop sync
# - NX_USER= # ftpd user
# - NX_PASSWORD= # ftpd password
ports:
# Change to any port of your machine (99 in that case) (dont change the :80 !!!)
- 99:80
# you can now access on your browser http://localhost:99 and see your games
volumes:
# path to your custom shop_template.jsonc used to show message on success or add authentication
- ./shop_template.jsonc:/shop_template.jsonc
# path to your directory with games
- c:/Users/vinic/Downloads/FDM/Switch/:/games/
# to enable auto update of tinfoil-hat container
tinfoilhat-updater:
image: containrrr/watchtower:latest
volumes:
# get
- /var/run/docker.sock:/var/run/docker.sock
command: --debug --http-api-update
environment:
# put your timezone here
- WATCHTOWER_POLL_INTERVAL=120
- WATCHTOWER_ROLLING_RESTART=true
- WATCHTOWER_SCOPE=tinfoilhat
labels:
com.centurylinklabs.watchtower.enable: false