Skip to content

Commit

Permalink
Do not restart containers in dev mode to avoid unwanted run-time issues
Browse files Browse the repository at this point in the history
Signed-off-by: ehanoc <[email protected]>
  • Loading branch information
ehanoc committed Apr 29, 2024
1 parent 22f9d81 commit 5ecc4bc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.4'
services:
liquid-auth:
build: .
restart: always
restart: no
env_file:
- .env.docker
ports:
Expand All @@ -13,12 +13,12 @@ services:
- mongo
- ngrok
liquid-demo:
restart: no
build:
context: .
dockerfile: Vite.Dockerfile
ports:
- "5173:5173"
restart: always
environment:
- PROXY_URL=http://liquid-auth:3000
- WSS_PROXY_SERVER=ws://liquid-auth:3000
Expand All @@ -27,7 +27,7 @@ services:
- ngrok
ngrok:
image: ngrok/ngrok:latest
restart: unless-stopped
restart: no
command:
- "start"
- "--all"
Expand All @@ -44,7 +44,7 @@ services:
- "6379:6379"
mongo:
image: mongo:7.0
restart: always
restart: no
environment:
- MONGO_INITDB_DATABASE=${DB_NAME:-fido}
- MONGO_INITDB_ROOT_USERNAME=${DB_USERNAME:-algorand}
Expand All @@ -55,6 +55,7 @@ services:
- mongo:/data/db
turn:
image: coturn/coturn
restart: no
deploy:
replicas: 0
depends_on:
Expand Down

0 comments on commit 5ecc4bc

Please sign in to comment.