diff --git a/.env.example b/.env.example index 660362f5..68c35812 100644 --- a/.env.example +++ b/.env.example @@ -2,24 +2,24 @@ APP_NAME=skeleton APP_ENV=dev DB_DRIVER=mysql -DB_HOST=localhost +DB_HOST=mysql DB_PORT=3306 DB_DATABASE=mine DB_USERNAME=root -DB_PASSWORD=root +DB_PASSWORD=123456 DB_CHARSET=utf8mb4 DB_COLLATION=utf8mb4_unicode_ci DB_PREFIX= -REDIS_HOST=localhost +REDIS_HOST=redis REDIS_AUTH= REDIS_PORT=6379 REDIS_DB=0 -AMQP_HOST=127.0.0.1 +AMQP_HOST=rabbitmq AMQP_PORT=5672 -AMQP_USER=guest -AMQP_PASSWORD=guest +AMQP_USER=mineadmin +AMQP_PASSWORD=123456 AMQP_VHOST=/ AMQP_ENABLE=false diff --git a/docker-compose.yml b/docker-compose.yml index c5ce20af..0dfaba01 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -38,7 +38,7 @@ services: mysql: environment: - "TZ=Asia/Shanghai" - - MYSQL_ROOT_PASSWORD=12345678 + - MYSQL_ROOT_PASSWORD=123456 - "explicit_defaults_for_timestamp=true" - "lower_case_table_names=1" volumes: