docker compose nextcloud rm mysql

This commit is contained in:
Konstantin Lebedev 2022-05-23 20:11:32 +05:00
parent a34438384e
commit a14728d508

View file

@ -15,15 +15,6 @@ services:
command: "volume -mserver=master:9333 -port=8080 -ip=volume" command: "volume -mserver=master:9333 -port=8080 -ip=volume"
depends_on: depends_on:
- master - master
mysql:
image: percona/percona-server:5.7
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_DATABASE=nextcloud
- MYSQL_PASSWORD=secret
- MYSQL_USER=nextcloud
s3: s3:
image: chrislusf/seaweedfs:local image: chrislusf/seaweedfs:local
ports: ports:
@ -44,12 +35,10 @@ services:
- OBJECTSTORE_S3_PORT=8333 - OBJECTSTORE_S3_PORT=8333
- OBJECTSTORE_S3_SSL=false - OBJECTSTORE_S3_SSL=false
- OBJECTSTORE_S3_USEPATH_STYLE=true - OBJECTSTORE_S3_USEPATH_STYLE=true
- MYSQL_PASSWORD=secret - SQLITE_DATABASE=nextcloud
- MYSQL_DATABASE=nextcloud - NEXTCLOUD_ADMIN_USER=admin
- MYSQL_USER=nextcloud - NEXTCLOUD_ADMIN_PASSWORD=admin
- MYSQL_HOST=mysql
ports: ports:
- 80:80 - 80:80
depends_on: depends_on:
- s3 - s3
- mysql