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