20 lines
681 B
Django/Jinja
20 lines
681 B
Django/Jinja
services:
|
|
# Example app to proxy to
|
|
nextcloud-aio:
|
|
image: ghcr.io/nextcloud-releases/all-in-one:latest
|
|
container_name: nextcloud-aio-mastercontainer
|
|
restart: always
|
|
ports:
|
|
- 0.0.0.0:8080:8080
|
|
- 0.0.0.0:8443:8443
|
|
- 0.0.0.0:9000:9000
|
|
volumes:
|
|
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
|
|
- /run/user/{{ getent_passwd[user.name][2] }}/podman/podman.sock:/var/run/docker.sock:ro
|
|
env:
|
|
- NEXTCLOUD_DATADIR="/home/{{ user.name }}/"
|
|
# Note: No need to expose ports to the host; Caddy talks to it via the internal docker network.
|
|
volumes:
|
|
nextcloud_aio_mastercontainer:
|
|
name: nextcloud_aio_mastercontainer
|