1234567891011121314151617181920212223242526 |
- version: '3.4'
- services:
- nextcloud:
- image: nextcloud
- container_name: nextcloud
- hostname: ${HOSTNAME}
- restart: on-failure:3
- volumes:
- - ./data/webroot:/var/www/html
- environment:
- - VIRTUAL_HOST=${HOSTNAME}
- - LETSENCRYPT_HOST=${HOSTNAME}
- - LETSENCRYPT_EMAIL=webmaster@${HOSTNAME}
- - SQLITE_DATABASE=@${HOSTNAME}
- - NEXTCLOUD_ADMIN_USER=${ADMIN_USER}
- - NEXTCLOUD_ADMIN_PASSWORD=${ADMIN_PASS}
- - TRUSTED_PROXIES=reverse-proxy
- - OVERWRITEPROTOCOL=https
- - OVERWRITEHOST=${HOSTNAME}
- networks:
- - reverse-proxy_default
- networks:
- reverse-proxy_default:
- external: true
|