generated from DAM/ts-TEMPLATE
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
services:
|
|
christmas-community-ts:
|
|
image: tailscale/tailscale:latest
|
|
hostname: christmas-community
|
|
container_name: christmas-community-ts
|
|
environment:
|
|
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}}
|
|
- TS_STATE_DIR=/var/lib/tailscale
|
|
- TS_SERVE_CONFIG=/config/serve.json
|
|
volumes:
|
|
- ./tailscale/tailscale-data:/var/lib/tailscale
|
|
- ./tailscale/config:/config
|
|
- /dev/net/tun:/dev/net/tun
|
|
cap_add:
|
|
- net_admin
|
|
- sys_module
|
|
restart: unless-stopped
|
|
christmas-community:
|
|
image: wingysam/christmas-community
|
|
volumes:
|
|
- ./data:/data
|
|
# ports:
|
|
# # If you want to go to localhost:8080 to access Christmas Community,
|
|
# # use - 8080:80 instead of
|
|
# - 80:80
|
|
environment:
|
|
# Table mode, set to 'false' to revert to box mode
|
|
TABLE: 'true'
|
|
# Single list mode
|
|
# (for weddings, birthdays, etc. only the admin account's list is accessible)
|
|
# Set to 'true' to enable
|
|
SINGLE_LIST: 'false'
|
|
# Some websites (like walmart) send headers that are larger than 8MB in
|
|
# length. If issues are encountered, set the node.js limit to a higher
|
|
# number than 8192
|
|
#NODE_OPTIONS: "--max-http-header-size=32768"
|
|
restart: always
|
|
network_mode: service:christmas-community-ts
|
|
depends_on:
|
|
- christmas-community-ts |