Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- volumes:
- nextcloud:
- db:
- services:
- db:
- image: mariadb
- command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
- restart: always
- volumes:
- - db:/var/lib/mysql
- environment:
- - MYSQL_ROOT_PASSWORD=password
- - MYSQL_PASSWORD=password
- - MYSQL_DATABASE=nextcloud
- - MYSQL_USER=nextcloud
- app:
- image: nextcloud
- ports:
- - 8080:80
- links:
- - db
- volumes:
- - nextcloud:/var/www/html
- restart: always
- environment:
- - NEXTCLOUD_ADMIN_PASSWORD=password
- - NEXTCLOUD_ADMIN_USER=nextcloud
- adminer:
- image: adminer
- restart: always
- ports:
- - 8081:8080
Add Comment
Please, Sign In to add comment