63 lines
1.3 KiB
YAML
63 lines
1.3 KiB
YAML
services:
|
|
nextcloud-app:
|
|
image: ucommandit/nextcloud
|
|
container_name: try-ucommandit-nextcloud
|
|
# restart: ${RESTART:-unless-stopped}
|
|
command: ['nextcloud', "${CMD:-idle}" ]
|
|
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
|
|
ports:
|
|
# required: the nextcloud web server
|
|
- 8080:8080
|
|
# if using ssh access to container
|
|
- 8022:22
|
|
# this is for supervisor interface
|
|
# - 9001:9001
|
|
|
|
|
|
volumes:
|
|
|
|
nextcloud:
|
|
driver: local
|
|
driver_opts:
|
|
o: bind
|
|
type: none
|
|
device: ${PWD}/devcloud
|
|
|
|
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:
|
|
# driver: local
|
|
# driver_opts:
|
|
# o: bind
|
|
# type: none
|
|
# device: ${PWD}/opt
|
|
|
|
# user-files:
|
|
# driver: local
|
|
# driver_opts:
|
|
# o: bind
|
|
# type: none
|
|
# device: ${HOST_NEXTCLOUD_USERFILES}
|