You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.4 KiB
Django/Jinja

# from https://github.com/nextcloud/all-in-one/blob/3fc84ee78438fc7c07e8d/compose.yaml, cleaned up
name: nextcloud-aio
services:
nextcloud-aio-mastercontainer:
image: nextcloud/all-in-one:latest
container_name: nextcloud-aio-mastercontainer
restart: unless-stopped
ports:
- "127.0.0.1:{{ nextcloud_admin_port }}:8080"
environment:
APACHE_PORT: {{ nextcloud_ui_port }}
APACHE_IP_BINDING: 127.0.0.1
NEXTCLOUD_DATADIR: "/mnt/ncdata"
SKIP_DOMAIN_VALIDATION: "true"
TALK_PORT: 3478
NEXTCLOUD_ENABLE_DRI_DEVICE: "false"
NEXTCLOUD_MEMORY_LIMIT: 2048M
NEXTCLOUD_UPLOAD_LIMIT: 16G
NEXTCLOUD_MAX_TIME: 99999
OVERWRITEPROTOCOL: https
OVERWRITEHOST: {{ nextcloud_domain }}
# Optional:
# WATCHTOWER_DOCKER_SOCKET_PATH: /var/run/docker.sock
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- "{{ nextcloud_file_storage_path }}/data:/mnt/ncdata"
- "{{ nextcloud_file_storage_path }}/backups:/mnt/backup"
networks:
- nextcloud-aio
volumes: # If you want to store the data on a different drive, see https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer
networks:
nextcloud-aio:
name: nextcloud-aio