Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- db:
- image: mariadb
- env_file:
- - pi.env
- command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
- restart: always
- volumes:
- - ${BASE_PATH}/db:/var/lib/mysql
- nextcloud:
- image: nextcloud:apache
- env_file:
- - pi.env
- restart: always
- ports:
- - 80:80
- - 443:443
- volumes:
- - ${BASE_PATH}/www:/var/www
- depends_on:
- - db
- environment:
- - MYSQL_HOST=db
- MYSQL_PASSWORD=secure-password
- MYSQL_ROOT_PASSWORD=even-more-secure.password
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- BASE_PATH=/tmp
Add Comment
Please, Sign In to add comment