nextcloud/docker-compose.yml hinzugefügt
This commit is contained in:
parent
b2e93aa91b
commit
1c0904b473
1 changed files with 33 additions and 0 deletions
33
nextcloud/docker-compose.yml
Normal file
33
nextcloud/docker-compose.yml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: mariadb
|
||||||
|
restart: always
|
||||||
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed
|
||||||
|
volumes:
|
||||||
|
- db:/var/lib/mysql
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: password
|
||||||
|
MYSQL_PASSWORD: password
|
||||||
|
MYSQL_DATABASE: nextcloud
|
||||||
|
MYSQL_USER: nextcloud
|
||||||
|
app:
|
||||||
|
image: lscr.io/linuxserver/nextcloud
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
volumes:
|
||||||
|
- config:/config
|
||||||
|
- data:/data
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
environment:
|
||||||
|
MYSQL_PASSWORD: password
|
||||||
|
MYSQL_DATABASE: nextcloud
|
||||||
|
MYSQL_USER: nextcloud
|
||||||
|
MYSQL_HOST: db
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db:
|
||||||
|
config:
|
||||||
|
data:
|
Loading…
Reference in a new issue