Skip to content

Commit

Permalink
feat/环境问题
Browse files Browse the repository at this point in the history
  • Loading branch information
freestylefly committed May 28, 2024
1 parent 1d76fb5 commit e23ffe4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,22 @@ services:
dockerfile: dockerfile
ports:
- "6880:6880"
environment:
- SPRING_PROFILES_ACTIVE=dev
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=http://pmhub-nacos:8848
- SPRING_CLOUD_NACOS_DISCOVERY_USERNAME=nacos
- SPRING_CLOUD_NACOS_DISCOVERY_PASSWORD=AbMt1425@asda@9123
- SPRING_CLOUD_NACOS_CONFIG_SERVER-ADDR=http://pmhub-nacos:8848
- SPRING_CLOUD_NACOS_CONFIG_USERNAME=nacos
- SPRING_CLOUD_NACOS_CONFIG_PASSWORD=AbMt1425@asda@9123
- SPRING_REDIS_HOST=pmhub-redis
- SPRING_REDIS_PORT=6379
depends_on:
- pmhub-redis
- pmhub-nacos
links:
- pmhub-redis
- pmhub-nacos
pmhub-auth:
container_name: pmhub-auth
build:
Expand Down

0 comments on commit e23ffe4

Please sign in to comment.