27 lines
699 B
YAML
27 lines
699 B
YAML
name: nextcloud
|
|
services:
|
|
app:
|
|
image: nextcloud/all-in-one:latest
|
|
init: true
|
|
restart: always
|
|
container_name: nextcloud-aio-mastercontainer
|
|
volumes:
|
|
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
ports:
|
|
- 8081:8080
|
|
environment:
|
|
- APACHE_PORT=11000
|
|
- APACHE_IP_BINDING=0.0.0.0
|
|
- BORG_RETENTION_POLICY=--keep-within=3d --keep-weekly=2 --keep-monthly=3
|
|
- NEXTCLOUD_STARTUP_APPS=twofactor_totp tasks notes
|
|
networks:
|
|
- nextcloud-aio
|
|
|
|
volumes:
|
|
nextcloud_aio_mastercontainer:
|
|
name: nextcloud_aio_mastercontainer
|
|
|
|
networks:
|
|
nextcloud-aio:
|
|
name: nextcloud-aio
|