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
|
pull_policy: build
|
||||||
container_name: normogen-backend
|
container_name: normogen-backend
|
||||||
ports:
|
ports:
|
||||||
- '8000:8000'
|
- 8001:8000
|
||||||
environment:
|
environment:
|
||||||
- RUST_LOG=info
|
- RUST_LOG=info
|
||||||
- SERVER_PORT=8000
|
- SERVER_PORT=8000
|
||||||
|
|
@ -22,7 +22,6 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- normogen-network
|
- normogen-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# Disable DNS search domain to fix hostname resolution
|
|
||||||
dns_search: []
|
dns_search: []
|
||||||
mongodb:
|
mongodb:
|
||||||
image: mongo:6.0
|
image: mongo:6.0
|
||||||
|
|
@ -34,14 +33,12 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- normogen-network
|
- normogen-network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: |
|
test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
|
||||||
echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
|
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: 40s
|
start_period: 40s
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# Disable DNS search domain to fix hostname resolution
|
|
||||||
dns_search: []
|
dns_search: []
|
||||||
volumes:
|
volumes:
|
||||||
mongodb_data:
|
mongodb_data:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue