Script docker-compose integrasi Nextcloud dengan docker
version: '2' | |
volumes: | |
nextcloud: | |
db: | |
services: | |
db: | |
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW | |
image: mariadb | |
restart: always | |
volumes: | |
- db:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD= | |
- MYSQL_PASSWORD= | |
- MYSQL_DATABASE= | |
- MYSQL_USER= | |
app: | |
image: nextcloud:fpm-alpine | |
links: | |
- db | |
volumes: | |
- /data/nextcloud:/var/www/html | |
restart: always | |
web: | |
image: nginx | |
ports: | |
- 8080:80 | |
links: | |
- app | |
volumes: | |
- ./nginx.conf:/etc/nginx/nginx.conf:ro | |
volumes_from: | |
- app | |
restart: always | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment