Browse Source

docker compose nextcloud rm mysql

pull/3114/head
Konstantin Lebedev 3 years ago
parent
commit
a14728d508
  1. 17
      docker/compose/local-nextcloud-compose.yml

17
docker/compose/local-nextcloud-compose.yml

@ -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
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=mysql
- SQLITE_DATABASE=nextcloud
- NEXTCLOUD_ADMIN_USER=admin
- NEXTCLOUD_ADMIN_PASSWORD=admin
ports: ports:
- 80:80 - 80:80
depends_on: depends_on:
- s3 - s3
- mysql
Loading…
Cancel
Save