Initial commit
This commit is contained in:
commit
9ed56eafc4
|
@ -0,0 +1,3 @@
|
|||
# Docker Nextcloud mit Mariadb und fpm
|
||||
|
||||
https://github.com/nextcloud/docker
|
|
@ -0,0 +1,43 @@
|
|||
version: '2'
|
||||
|
||||
networks:
|
||||
webproxy:
|
||||
external: true
|
||||
|
||||
backend-gitea:
|
||||
external: false
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb
|
||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||
restart: always
|
||||
volumes:
|
||||
- /opt/appdata/nextcloud/mysql:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=
|
||||
- MYSQL_PASSWORD=
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
|
||||
app:
|
||||
image: nextcloud:fpm
|
||||
links:
|
||||
- db
|
||||
volumes:
|
||||
- /opt/appdata/nextcloud/www:/var/www/html
|
||||
restart: always
|
||||
|
||||
web:
|
||||
image: nginx
|
||||
ports:
|
||||
- 8080:80
|
||||
links:
|
||||
- app
|
||||
networks:
|
||||
- webproxy
|
||||
volumes:
|
||||
- /opt/appdata/nextcloud/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
volumes_from:
|
||||
- app
|
||||
restart: always
|
Loading…
Reference in New Issue