generated from DAM/ts-TEMPLATE
manual init
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
services:
|
||||
{{service}}-ts:
|
||||
christmas-community-ts:
|
||||
image: tailscale/tailscale:latest
|
||||
hostname: {{service}}
|
||||
container_name: {{service}}-ts
|
||||
hostname: christmas-community
|
||||
container_name: christmas-community-ts
|
||||
environment:
|
||||
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}}
|
||||
- TS_STATE_DIR=/var/lib/tailscale
|
||||
@@ -15,7 +15,26 @@ services:
|
||||
- net_admin
|
||||
- sys_module
|
||||
restart: unless-stopped
|
||||
{{service-compose}}
|
||||
network_mode: service:{{service}}-ts
|
||||
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:
|
||||
- {{service}}-ts
|
||||
- christmas-community-ts
|
||||
Reference in New Issue
Block a user