Move nextcloud to postgresql

This commit is contained in:
Marko Korhonen 2021-01-09 11:47:26 +02:00
parent 55c7bd0b28
commit eb5fd2705f

View file

@ -9,7 +9,7 @@ services:
- "1869:80" - "1869:80"
networks: networks:
- nextcloud - nextcloud
- mariadb - postgres
- proxy - proxy
volumes: volumes:
- /docker/nextcloud:/var/www/html - /docker/nextcloud:/var/www/html
@ -19,7 +19,6 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
environment: environment:
- TZ=Europe/Helsinki - TZ=Europe/Helsinki
- MYSQL_HOST=mariadb-nextcloud
- REDIS_HOST=redis - REDIS_HOST=redis
- REDIS_HOST_PASSWORD=123 - REDIS_HOST_PASSWORD=123
depends_on: depends_on:
@ -61,7 +60,7 @@ services:
networks: networks:
nextcloud: nextcloud:
external: false external: false
mariadb: postgres:
external: true external: true
proxy: proxy:
external: true external: true