Change backend port from 8000 to 8001
This commit is contained in:
parent
078acd92d1
commit
9691b61aef
1 changed files with 2 additions and 5 deletions
|
|
@ -8,7 +8,7 @@ services:
|
|||
pull_policy: build
|
||||
container_name: normogen-backend
|
||||
ports:
|
||||
- '8000:8000'
|
||||
- 8001:8000
|
||||
environment:
|
||||
- RUST_LOG=info
|
||||
- SERVER_PORT=8000
|
||||
|
|
@ -22,7 +22,6 @@ services:
|
|||
networks:
|
||||
- normogen-network
|
||||
restart: unless-stopped
|
||||
# Disable DNS search domain to fix hostname resolution
|
||||
dns_search: []
|
||||
mongodb:
|
||||
image: mongo:6.0
|
||||
|
|
@ -34,14 +33,12 @@ services:
|
|||
networks:
|
||||
- normogen-network
|
||||
healthcheck:
|
||||
test: |
|
||||
echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
|
||||
test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 40s
|
||||
restart: unless-stopped
|
||||
# Disable DNS search domain to fix hostname resolution
|
||||
dns_search: []
|
||||
volumes:
|
||||
mongodb_data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue