Skip to content

Commit

Permalink
make some changes to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
norali12 committed Sep 23, 2024
1 parent 668b02a commit db3724b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- OAUTH2_PROXY_EMAIL_DOMAINS=*
- OAUTH2_PROXY_REDIRECT_URL=http://localhost:4180/oauth2/callback
- OAUTH2_PROXY_HTTP_ADDRESS=0.0.0.0:4180
- OAUTH2_PROXY_UPSTREAMS=http://localhost:3000/
- OAUTH2_PROXY_UPSTREAMS=http://localhost:3000
- OAUTH2_PROXY_PASS_ACCESS_TOKEN=true # Pass access token to upstream
- OAUTH2_PROXY_COOKIE_EXPIRE=20s # Set to 0 to create a session cookie
# - OAUTH2_PROXY_COOKIE_DOMAIN="http://localhost:4180"
Expand Down Expand Up @@ -41,7 +41,7 @@ services:
backend:
profiles: # will start only if `docker-compose --profile prod up` is used
- prod
image: noraali/backend:v1.4.7
image: noraali/backend:${TAG}
command: poetry run uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
volumes:
- .:/usr/src/app
Expand All @@ -67,7 +67,7 @@ services:
- ADMINER_DEFAULT_SERVER=database

frontend:
image: noraali/frontend:v1.4.7
image: noraali/frontend:${TAG}
depends_on:
- backend
- database
Expand Down

0 comments on commit db3724b

Please sign in to comment.