Created
January 23, 2024 14:58
-
-
Save dsbaars/9d44c6240df584eb555fff9759fe6c7f to your computer and use it in GitHub Desktop.
Nextcloud AIO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
db: | |
image: mariadb | |
container_name: nextcloud-mariadb | |
networks: | |
- nextcloud_network | |
volumes: | |
- db:/var/lib/mysql | |
- /etc/localtime:/etc/localtime:ro | |
environment: | |
- MYSQL_ROOT_PASSWORD | |
- MYSQL_PASSWORD | |
- MYSQL_DATABASE | |
- MYSQL_USER | |
restart: unless-stopped | |
app: | |
image: nextcloud:latest | |
container_name: nextcloud-app | |
networks: | |
- nextcloud_network | |
- traefiklocal | |
depends_on: | |
- db | |
ports: | |
- 11000:80 | |
volumes: | |
- nextcloud:/var/www/html | |
- ./app/config:/var/www/html/config | |
- ./app/custom_apps:/var/www/html/custom_apps | |
- ./app/data:/var/www/html/data | |
- ./app/themes:/var/www/html/themes | |
- /etc/localtime:/etc/localtime:ro | |
environment: | |
- VIRTUAL_HOST | |
- TRUSTED_PROXIES | |
- OVERWRITEPROTOCOL | |
- NEXTCLOUD_TRUSTED_DOMAINS | |
restart: unless-stopped | |
volumes: | |
nextcloud: | |
db: | |
networks: | |
nextcloud_network: | |
traefiklocal: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment