Welcome to Docker Extensions!
here is my compose file
services:
nextcloud-aio-mastercontainer:
image: ghcr.io/nextcloud-releases/all-in-one:beta
init: true
restart: always
container_name: nextcloud-aio-mastercontainer # This line cannot be changed
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock.raw:/var/run/docker.sock:ro
networks:
- nextcloud-aio
ports:
- 0.0.0.0:8080:8080
environment:
APACHE_PORT: 11000
APACHE_IP_BINDING: 0.0.0.0
SKIP_DOMAIN_VALIDATION: true
OVERWRITEHOST: My domain ending with .ts.net which im not telling you
OVERWRITEPROTOCOL: https
caddy:
build:
context: .
dockerfile: Caddy.Dockerfile
depends_on:
tailscale:
condition: service_healthy
restart: unless-stopped
environment:
NC_DOMAIN: Im not telling you # Change to your domain ending with .ts.net
volumes:
- type: bind
source: ./Caddyfile
target: /etc/caddy/Caddyfile
- type: volume
source: caddy_certs
target: /certs
- type: volume
source: caddy_data
target: /data
- type: volume
source: caddy_config
target: /config
- type: volume
source: tailscale_sock
target: /var/run/tailscale/ # Mount the volume for /var/run/tailscale/tailscale.sock
read_only: true
network_mode: service:tailscale
tailscale:
image: tailscale/tailscale:v1.82.0
environment:
TS_HOSTNAME: Im not telling you # Your tailnet hostname
TS_AUTH_KEY: ${TS_AUTH_KEY} # Loaded from .env file
TS_EXTRA_ARGS: --advertise-tags=tag:nextcloud # Required for OAuth client
init: true
healthcheck:
test: tailscale status --peers=false --json | grep 'Online.*true'
start_period: 3s
interval: 1s
retries: 3
restart: unless-stopped
devices:
- /dev/net/tun:/dev/net/tun
volumes:
- type: volume
source: tailscale
target: /var/lib/tailscale
- type: volume
source: tailscale_sock
target: /tmp # Mount entire /tmp folder to access tailscale.sock
cap_add:
- NET_ADMIN
networks:
- nextcloud-aio
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer # This line cannot be changed
caddy_certs:
caddy_config:
caddy_data:
tailscale:
tailscale_sock:
networks:
nextcloud-aio:
name: nextcloud-aio
driver: bridge
enable_ipv6: false
driver_opts:
com.docker.network.driver.mtu: "1280" # Can be set to 9001 for jumbo frames
com.docker.network.bridge.host_binding_ipv4: "127.0.0.1" # Security hardening
com.docker.network.bridge.enable_icc: "true"
com.docker.network.bridge.default_bridge: "false"
com.docker.network.bridge.enable_ip_masquerade: "true"
this is from the official macos aio guide on the next-cloud GitHub page https://github.com/nextcloud/all-in-one/discussions/5439 all the other files in my directory where i used docker compose up -d are the same as in the guide with nothing changed, the only reason i changed some of the stuff here was to make it wok, for some reason Apache IP binding had to be 0.0.0.0 otherwise it wouldn’t work. A couple months later my mac-book dies because someone in my family accidentally stepped on the charger, and the battery drained slowly as i wouldn’t notice until i got back from McDonald. Leading it to be stuck on a black screen, while still technically being connected to the network, and having functionality besides audio and the display, I connected an external monitor, and now docker refuses to work with the error being “hypervisor check failed” My plan is to migrate the docker volumes from my MacBook to my Proxmox server, which still works, but I don’t know how to do that, any help would be appreciated, as I can’t find any other people in similar situations like me.