uci-docker-nextcloud/dev/docker-compose.yml

63 lines
1.3 KiB
YAML
Raw Normal View History

2024-09-12 16:21:59 -07:00
services:
nextcloud-app:
image: ucommandit/nextcloud
container_name: try-ucommandit-nextcloud
# restart: ${RESTART:-unless-stopped}
command: ['nextcloud', "${CMD:-idle}" ]
2024-09-12 16:21:59 -07:00
hostname: compose-uci-nextcloud
env_file: nextcloud.env
volumes:
# required volume to save state of nextcloud instance
- nextcloud:/opt/nextcloud
# for pre-downloaded releases
- releases:/opt/releases
# for full dev development
# - opt:/opt
# for minimal development (just the nextcloud cli)
# - lib:/opt/lib
2024-09-12 16:21:59 -07:00
ports:
# required: the nextcloud web server
2024-09-12 16:21:59 -07:00
- 8080:8080
# if using ssh access to container
- 8022:22
# this is for supervisor interface
# - 9001:9001
2024-09-12 16:21:59 -07:00
2024-09-12 16:21:59 -07:00
volumes:
nextcloud:
2024-09-12 16:21:59 -07:00
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/devcloud
2024-09-12 16:21:59 -07:00
releases:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/releases
# lib:
# driver: local
# driver_opts:
# o: bind
# type: none
# device: ${PWD}/lib
# opt:
2024-09-12 16:21:59 -07:00
# driver: local
# driver_opts:
# o: bind
# type: none
# device: ${PWD}/opt
2024-09-12 16:21:59 -07:00
# user-files:
# driver: local
# driver_opts:
# o: bind
# type: none
# device: ${HOST_NEXTCLOUD_USERFILES}