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