Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- volumes:
- nextcloud:
- db:
- services:
- db:
- image: mariadb
- restart: always
- volumes:
- - db:/var/lib/mysql
- environment:
- - MYSQL_ROOT_PASSWORD=nextcloud
- - MYSQL_PASSWORD=nextcloud
- - MYSQL_DATABASE=nextcloud
- - MYSQL_USER=nextcloud
- command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci
- app:
- image: nextcloud:fpm
- links:
- - db
- volumes:
- - nextcloud:/var/www/html
- - ./apps:/var/www/html/custom_apps:rw
- restart: always
- web:
- image: nginx
- ports:
- - 8080:80
- links:
- - app
- volumes:
- - ./conf/nginx.conf:/etc/nginx/nginx.conf:ro
- volumes_from:
- - app
- restart: always
Add Comment
Please, Sign In to add comment