Alle Backend-Komponenten in ein docker Netzwerk "backend_nextcloud"
This commit is contained in:
parent
259a34f4ba
commit
9b8b3bae38
|
@ -4,9 +4,6 @@ networks:
|
||||||
webproxy:
|
webproxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
backend-gitea:
|
|
||||||
external: false
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
|
@ -14,6 +11,8 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/appdata/nextcloud/mysql:/var/lib/mysql
|
- /opt/appdata/nextcloud/mysql:/var/lib/mysql
|
||||||
|
networks:
|
||||||
|
- backend-nextcloud
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=nextcloud
|
- MYSQL_ROOT_PASSWORD=nextcloud
|
||||||
- MYSQL_PASSWORD=nextcloud
|
- MYSQL_PASSWORD=nextcloud
|
||||||
|
@ -23,7 +22,10 @@ services:
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
container_name: nextcloud-redis-bmen-cc
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
- backend-nextcloud
|
||||||
|
|
||||||
web:
|
web:
|
||||||
image: nginx
|
image: nginx
|
||||||
|
@ -33,6 +35,7 @@ services:
|
||||||
- app
|
- app
|
||||||
networks:
|
networks:
|
||||||
- webproxy
|
- webproxy
|
||||||
|
- backend-nextcloud
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/appdata/nextcloud/nginx.conf:/etc/nginx/nginx.conf
|
- /opt/appdata/nextcloud/nginx.conf:/etc/nginx/nginx.conf
|
||||||
volumes_from:
|
volumes_from:
|
||||||
|
@ -49,6 +52,8 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
|
networks:
|
||||||
|
- backend-nextcloud
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/appdata/nextcloud/www:/var/www/html
|
- /opt/appdata/nextcloud/www:/var/www/html
|
||||||
container_name: nextcloud-bmen-cc
|
container_name: nextcloud-bmen-cc
|
||||||
|
|
Loading…
Reference in New Issue