container name

This commit is contained in:
Mike Holloway committed 2026-10-20 00:16:30 -04:00
1 parent e3cb54f408
commit 2ad3226416
1 file changed
+3 -3
+3 -3
View File
@@ -2,16 +2,16 @@ services:
# Example app to proxy to # Example app to proxy to
nextcloud-aio: nextcloud-aio:
image: ghcr.io/nextcloud-releases/all-in-one:latest image: ghcr.io/nextcloud-releases/all-in-one:latest
container_name: nextcloud-aio-leader container_name: nextcloud-aio-mastercontainer
restart: always restart: always
ports: ports:
- 0.0.0.0:8080:8080 - 0.0.0.0:8080:8080
- 0.0.0.0:8443:8443 - 0.0.0.0:8443:8443
volumes: volumes:
- nextcloud_aio_leader:/mnt/docker-aio-config - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /run/user/{{ getent_passwd[user.name][2] }}/podman/podman.sock:/var/run/docker.sock:ro - /run/user/{{ getent_passwd[user.name][2] }}/podman/podman.sock:/var/run/docker.sock:ro
env: env:
- NEXTCLOUD_DATADIR="/home/{{ user.name }}/" - NEXTCLOUD_DATADIR="/home/{{ user.name }}/"
# Note: No need to expose ports to the host; Caddy talks to it via the internal docker network. # Note: No need to expose ports to the host; Caddy talks to it via the internal docker network.
volumes: volumes:
nextcloud_aio_leader: nextcloud_aio_mastercontainer: