Skip to content

Commit

Permalink
Merge pull request janhq#10 from janhq/chore/docker-desktop-macos
Browse files Browse the repository at this point in the history
Chore: update docker compose and config for runable on macos
  • Loading branch information
hiento09 authored Aug 28, 2023
2 parents cfc3886 + cf367d8 commit 7f2232d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions conf/sample.env_web-client
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ NEXT_PUBLIC_POSTHOG_API_KEY=
NEXT_PUBLIC_SENTRY_DNS=
KEYCLOAK_CLIENT_ID=hasura
KEYCLOAK_CLIENT_SECRET=oMtCPAV7diKpE564SBspgKj4HqlKM4Hy
AUTH_ISSUER=http://172.20.0.9:8088/realms/hasura
AUTH_ISSUER=http://localhost:8088/realms/hasura
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=my-secret
END_SESSION_URL=http://172.20.0.9:8088/realms/hasura/protocol/openid-connect/logout
REFRESH_TOKEN_URL=http://172.20.0.9:8088/realms/hasura/protocol/openid-connect/token
END_SESSION_URL=http://localhost:8088/realms/hasura/protocol/openid-connect/logout
REFRESH_TOKEN_URL=http://localhost:8088/realms/hasura/protocol/openid-connect/token
HASURA_ADMIN_TOKEN=myadminsecretkey
NEXT_PUBLIC_GRAPHQL_ENGINE_URL=localhost:8080
7 changes: 4 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:
ipv4_address: 172.20.0.9

keycloak_postgres:
image: postgres:13
image: postgres:15
command: postgres -c 'max_connections=200' && postgres -c 'shared_buffers=24MB'
environment:
# Environment Variables expecially for Postgres
Expand All @@ -50,7 +50,7 @@ services:
ipv4_address: 172.20.0.10

postgres:
image: postgres:13
image: postgres:15
restart: always
# volumes:
# - db_data:/var/lib/postgresql/data
Expand Down Expand Up @@ -129,7 +129,8 @@ services:
- "3000:3000"
environment:
NODE_ENV: development

extra_hosts:
- "localhost:172.20.0.9"
networks:
jan_community:
ipv4_address: 172.20.0.15
Expand Down

0 comments on commit 7f2232d

Please sign in to comment.