Switched from mariadb to postgres for the db container
This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
version: '3'
|
||||
services:
|
||||
nextcloud_db:
|
||||
image: mariadb
|
||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||
image: postgres:alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- ./db:/var/lib/mysql
|
||||
- ./db:/var/lib/postgresql/data
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=hELLO@123
|
||||
- MYSQL_PASSWORD=hELLO@123
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
- "POSTGRES_DB=nextcloud"
|
||||
- "POSTGRES_USER=nextcloud"
|
||||
- "POSTGRES_PASSWORD=nextcloud1"
|
||||
|
||||
nextcloud:
|
||||
image: nextcloud-ocr
|
||||
|
||||
Reference in New Issue
Block a user