generated from DAM/ts-TEMPLATE
34 lines
998 B
YAML
34 lines
998 B
YAML
services:
|
|
nextcloud-aio-ts:
|
|
image: tailscale/tailscale:latest
|
|
hostname: nextcloud-aio
|
|
container_name: nextcloud-aio-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
|
|
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:
|
|
- nextcloud-aio-ts |