fix name, port and missing env
This commit is contained in:
@@ -26,6 +26,7 @@ services:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
||||
- - MYSQL_DATABASE=${DB_NAME:-db}
|
||||
- MYSQL_DATABASE=${DB_NAME:-nextcloud}
|
||||
- MYSQL_USER=${DB_USER:-nextcloud}
|
||||
- MYSQL_PASSWORD=${DB_PASS:-nextcloudpasswd}
|
||||
@@ -35,7 +36,7 @@ services:
|
||||
|
||||
db:
|
||||
image: mariadb:${DBTAG:-latest}
|
||||
container_name: wikidb
|
||||
container_name: clouddb
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
replicas: 1
|
||||
@@ -59,7 +60,7 @@ services:
|
||||
container_name: office
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 80:80
|
||||
- 8080:80
|
||||
deploy:
|
||||
replicas: 1
|
||||
placement:
|
||||
|
||||
Reference in New Issue
Block a user