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

32 lines
653 B
YAML
Raw Normal View History

2024-09-12 16:21:59 -07:00
version: '3'
services:
nextcloud:
image: ucommandit/nextcloud
container_name: ${NEXTCLOUD_NAME:-nextcloud}
entrypoint: /opt/bin/boot
hostname: ${NEXTCLOUD_NAME:-nextcloud}
# restart: ${RESTART:-unless-stopped}
env_file: ${ENV_FILE}
ports:
- "${NEXTCLOUD_PORT:-8080}:8080"
- "${SUPERVISOR_PORT:-9001}:9001"
volumes:
# - nextcloud:/opt/nextcloud
- opt:/opt
volumes:
# nextcloud:
# driver: local
# driver_opts:
# o: bind
# type: none
# device: ${PWD}/nextcloud
opt:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/opt