Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- volumes:
- nextcloud:
- db:
- services:
- db:
- image: mariadb
- restart: always
- command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed
- volumes:
- - db:/var/lib/mysql
- environment:
- - MYSQL_ROOT_PASSWORD=gege
- - MYSQL_PASSWORD=gege
- - MYSQL_DATABASE=nextcloud
- - MYSQL_USER=nextcloud
- app:
- image: nextcloud
- restart: always
- ports:
- - 8080:80
- links:
- - db
- volumes:
- - C:/belin:/var/www/html
- environment:
- - MYSQL_PASSWORD=gege
- - MYSQL_DATABASE=nextcloud
- - MYSQL_USER=nextcloud
- - MYSQL_HOST=db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement