Skip to content

Commit

Permalink
chore: 更新docker-compose文件配置
Browse files Browse the repository at this point in the history
  • Loading branch information
damingerdai committed Jul 1, 2024
1 parent 23a9d01 commit 45de20d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ services:
ports:
- 8443:8443
volumes:
- ./application-docker.yml:/app/config/application-docker.yml
- ./application-docker.yml:/app/config/application.yml
networks:
- hoteler-network
env_file: .env
# links:
# - db
# links:
# - db
depends_on:
- db
- pgbouncer
- redis

db:
image: postgres:16.3-alpine3.19
Expand All @@ -32,7 +34,7 @@ services:
- hoteler-network
pgbouncer:
image: edoburu/pgbouncer:1.22.1-p0
container_name: 'pgbouncer'
container_name: "pgbouncer"
environment:
- DATABASE_URL=postgres://postgres:123456@db:5432/postgres
- POOL_MODE=transaction
Expand All @@ -49,7 +51,7 @@ services:

redis:
image: redis:7.2.5-alpine3.20
container_name: 'redis'
container_name: "redis"
ports:
- 6379:6379
networks:
Expand Down
2 changes: 1 addition & 1 deletion src/main/angular

0 comments on commit 45de20d

Please sign in to comment.