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