Chore: update docker compose and config for runable on macos

This commit is contained in:
Hien To 2023-08-28 14:31:18 +07:00
parent cfc38860bb
commit cf367d8074
2 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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
@ -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
@ -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