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

44 lines
875 B
YAML
Raw Normal View History

2024-09-12 16:21:59 -07:00
version: '3'
services:
nextcloud-app:
image: ucommandit/nextcloud
container_name: try-ucommandit-nextcloud
# use exec to substitute shell script at PID 1 ?
entrypoint: ['exec /opt/bin/boot']
hostname: compose-uci-nextcloud
env_file: nextcloud.env
volumes:
# - nextcloud:/opt/nextcloud
- opt:/opt
ports:
- 8080:8080
- 9001:9001
volumes:
# db:
# driver: local
# driver_opts:
# o: bind
# type: none
# device: ${HOST_NEXTCLOUD_DB}
opt:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/opt
# nextcloud:
# driver: local
# driver_opts:
# o: bind
# type: none
# device: ${PWD}/nextcloud
# user-files:
# driver: local
# driver_opts:
# o: bind
# type: none
# device: ${HOST_NEXTCLOUD_USERFILES}