Last active
September 13, 2024 21:06
-
-
Save ostermine/1daaa03ad4a0acffd413a1a18e6d43c5 to your computer and use it in GitHub Desktop.
nextcloud in docker compose ec cmon
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
services: | |
db: | |
image: mariadb:10.6 | |
restart: always | |
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW | |
volumes: | |
- ./db:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=xaz261P3 | |
- MYSQL_PASSWORD=afDsf7an6Mg5 | |
- MYSQL_DATABASE=nextcloud | |
- MYSQL_USER=nextcloud | |
networks: | |
- nextcloud_network | |
app: | |
image: nextcloud | |
restart: always | |
ports: | |
- 8080:80 | |
volumes: | |
- ./nextcloud:/var/www/html | |
- ./apps:/var/www/html/custom_apps | |
- ./config:/var/www/html/config | |
- ./data:/var/www/html/data | |
environment: | |
- MYSQL_PASSWORD=afDsf7an6Mg5 | |
- MYSQL_DATABASE=nextcloud | |
- MYSQL_USER=nextcloud | |
- MYSQL_HOST=db | |
- NEXTCLOUD_ADMIN_USER=megaadmin | |
- NEXTCLOUD_ADMIN_PASSWORD=passwordsupersecret | |
- APACHE_BODY_LIMIT=0 | |
networks: | |
- nextcloud_network | |
networks: | |
nextcloud_network: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment