mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
docker use .env
This commit is contained in:
@@ -122,3 +122,8 @@ CLICKHOUSE_TCP_PORT=
|
|||||||
CLICKHOUSE_USER=
|
CLICKHOUSE_USER=
|
||||||
CLICKHOUSE_PASSWORD=
|
CLICKHOUSE_PASSWORD=
|
||||||
CLICKHOUSE_DATABASE=
|
CLICKHOUSE_DATABASE=
|
||||||
|
|
||||||
|
# docekr
|
||||||
|
NP_BACKUP_EXPORT_PATH=/tmp/nexusphp_backup
|
||||||
|
NP_DOMAIN=
|
||||||
|
NP_PORT=80
|
||||||
|
|||||||
@@ -126,10 +126,10 @@ services:
|
|||||||
image: mysql:9
|
image: mysql:9
|
||||||
container_name: nexusphp-mysql
|
container_name: nexusphp-mysql
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: ${NP_MYSQL_ROOT_PWD:-root}
|
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD:-root}
|
||||||
MYSQL_DATABASE: ${NP_MYSQL_DB:-nexusphp}
|
MYSQL_DATABASE: ${DB_DATABASE:-nexusphp}
|
||||||
MYSQL_USER: ${NP_MYSQL_USER:-nexusphp}
|
MYSQL_USER: ${DB_USERNAME:-nexusphp}
|
||||||
MYSQL_PASSWORD: ${NP_MYSQL_PWD:-nexusphp}
|
MYSQL_PASSWORD: ${DB_PASSWORD:-nexusphp}
|
||||||
volumes:
|
volumes:
|
||||||
- mysql-data:/var/lib/mysql
|
- mysql-data:/var/lib/mysql
|
||||||
logging:
|
logging:
|
||||||
|
|||||||
Reference in New Issue
Block a user