diff --git a/container_env_files/cgw.env b/container_env_files/cgw.env index 575a9a7..4fc04e1 100644 --- a/container_env_files/cgw.env +++ b/container_env_files/cgw.env @@ -30,12 +30,6 @@ AUTH_TOKEN=your_privileged_endpoints_token LOG_LEVEL=info # LOG_SILENT=true -# Alerts provider -ALERTS_PROVIDER_SIGNING_KEY='' -ALERTS_PROVIDER_API_KEY='' -ALERTS_PROVIDER_ACCOUNT='' -ALERTS_PROVIDER_PROJECT='' - # Email handling # Please note that the Safe CGW is currently using Pushwoosh as the email services provider. # Refer to the provider's official documentation to set up emailing. @@ -54,7 +48,7 @@ EMAIL_TEMPLATE_VERIFICATION_CODE='' # Firebase project PUSH_NOTIFICATIONS_API_PROJECT='' # Firebase service account details for authenticating with Google -PUSH_NOTIFICATIONS_API_SERVICE_ACCOUNT_CLIENT_EMAIL='' +PUSH_NOTIFICATIONS_API_SERVICE_ACCOUNT_CLIENT_EMAIL=changeme@example.com PUSH_NOTIFICATIONS_API_SERVICE_ACCOUNT_PRIVATE_KEY='' # Relay Provider @@ -85,3 +79,14 @@ STAKING_API_KEY='' # The testnet staking provider to be used. # (default='https://api.testnet.kiln.fi') STAKING_TESTNET_API_KEY='' + + +# The issuer and secret used to sign and verify JWTs. +JWT_ISSUER='' +JWT_SECRET='' + +# Community +FINGERPRINT_ENCRYPTION_KEY='' + +POSTGRES_HOST=cgw-db +POSTGRES_DB=postgres diff --git a/container_env_files/ui.env b/container_env_files/ui.env index 6481d62..242d869 100644 --- a/container_env_files/ui.env +++ b/container_env_files/ui.env @@ -18,7 +18,7 @@ NEXT_PUBLIC_IS_PRODUCTION=true # Or overwrite the fallback values (set a different WalletConnect bridge) # Latest supported safe version, used for upgrade prompts -NEXT_PUBLIC_SAFE_VERSION=1.3.0 +NEXT_PUBLIC_SAFE_VERSION=1.4.1 # Access keys NEXT_PUBLIC_SENTRY_DSN= diff --git a/docker-compose.yml b/docker-compose.yml index 2070b8d..e84bdc2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -64,6 +64,14 @@ services: - ./data/events-db:/var/lib/postgresql/data <<: *pghealthcheck + cgw-db: + image: postgres:14-alpine + environment: + POSTGRES_PASSWORD: postgres + volumes: + - ./data/cgw-db:/var/lib/postgresql/data + <<: *pghealthcheck + # Safe Transaction Service txs-redis: image: redis:alpine diff --git a/docs/running_locally.md b/docs/running_locally.md index 1dcc4ce..88aeec9 100644 --- a/docs/running_locally.md +++ b/docs/running_locally.md @@ -6,10 +6,10 @@ - [Brief Docker Crash Course](docker_cheatsheet.md) **Important Note:** If you followed the guide some time ago, it's recommended to clean the existing data: -- Remove containers: `docker-compose down -v`. -- Remove docker volumes: `docker-compose rm -f -v`. +- Remove containers: `docker compose down -v`. +- Remove docker volumes: `docker compose rm -f -v`. - Remove `./data` folder, that holds the database. -- Download last versions of the images: `docker-compose pull` +- Download last versions of the images: `docker compose pull` ## Step 1: setup your `.env`