Created
June 20, 2021 21:13
-
-
Save moraisaugusto/d0fb5e0b73c977f4204bf4823e4c47ee to your computer and use it in GitHub Desktop.
nextcloud + Bucket (docker-compose)
This file contains 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' | |
volumes: | |
nextcloud: | |
db: | |
services: | |
db: | |
image: mariadb | |
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW | |
restart: unless-stopped | |
volumes: | |
- db:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=PASS | |
- MYSQL_PASSWORD=PASS | |
- MYSQL_DATABASE=nextcloud | |
- MYSQL_USER=nextcloud | |
app: | |
image: nextcloud | |
environment: | |
- OBJECTSTORE_S3_SSL=true | |
- OBJECTSTORE_S3_USEPATH_STYLE=true | |
- OBJECTSTORE_S3_BUCKET=BUCKET | |
- OBJECTSTORE_S3_KEY=KEY | |
- OBJECTSTORE_S3_SECRET=SECRET | |
- OBJECTSTORE_S3_REGION=REGION | |
- OBJECTSTORE_S3_HOST=REGION_HOST | |
- OBJECTSTORE_S3_PORT=443 | |
ports: | |
- 8080:80 | |
links: | |
- db | |
volumes: | |
- nextcloud:/var/www/html | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment