generated from DAM/ts-TEMPLATE
manual init
This commit is contained in:
parent
187e063e8e
commit
c464fef0d9
@ -1,8 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
{{service}}-ts:
|
nextcloud-aio-ts:
|
||||||
image: tailscale/tailscale:latest
|
image: tailscale/tailscale:latest
|
||||||
hostname: {{service}}
|
hostname: nextcloud-aio
|
||||||
container_name: {{service}}-ts
|
container_name: nextcloud-aio-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,20 @@ services:
|
|||||||
- net_admin
|
- net_admin
|
||||||
- sys_module
|
- sys_module
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
{{service-compose}}
|
nextcloud-aio:
|
||||||
network_mode: service:{{service}}-ts
|
image: ghcr.io/nextcloud-releases/all-in-one:latest
|
||||||
|
container_name: nextcloud-aio-mastercontainer
|
||||||
|
init: true
|
||||||
|
restart: always
|
||||||
|
# ports:
|
||||||
|
# - "80:80"
|
||||||
|
# - "8080:8080"
|
||||||
|
# - "8443:8443"
|
||||||
|
volumes:
|
||||||
|
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
extra_hosts:
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
|
network_mode: service:nextcloud-aio-ts
|
||||||
depends_on:
|
depends_on:
|
||||||
- {{service}}-ts
|
- nextcloud-aio-ts
|
Loading…
x
Reference in New Issue
Block a user