should this docker-compose file work? ```yaml supe...
# support-questions
s
should this docker-compose file work?
Copy code
yaml
supertokens:
    image: registry.supertokens.io/supertokens/supertokens-postgresql
    depends_on:
      - supertokens_database
    ports:
      - 3567:3567
    environment:
      POSTGRESQL_CONNECTION_URI: "postgresql://supertokens:somePassword@supertokens_database:5433/supertokens?schema=public"
    networks:
      - app_network
      - supertokens_network
    restart: unless-stopped
    healthcheck:
      test: >
        bash -c 'exec 3<>/dev/tcp/127.0.0.1/3567 && echo -e "GET /hello HTTP/1.1\r\nhost: 127.0.0.1:3567\r\nConnection: close\r\n\r\n" >&3 && cat <&3 | grep "Hello"'
      interval: 10s
      timeout: 5s
      retries: 5

  supertokens_database:
    image: 'postgres:latest'
    restart: always
    environment:
      POSTGRES_USER: supertokens
      POSTGRES_PASSWORD: somePassword
      POSTGRES_DB: supertokens
    ports:
      - 5433:5432
    networks:
      - supertokens_network
    volumes:
      - ./volumes/postgres:/var/lib/postgresql/data
    healthcheck:
      test: ['CMD', 'pg_isready -U supertokens']
      interval: 5s
      timeout: 5s
      retries: 5
? I'm getting these errors from the supertokens-postgresql image:
Copy code
text
2023-03-13 00:26:12 Trying again in a few seconds for 57.8 mins...
2023-03-13 00:26:22 13 Mar 2023 06:26:22:551 +0000 | ERROR | pid: 3990a63d-e701-43c7-bc41-4f23273b7c88 | [main] thread | io.supertokens.storage.postgresql.HikariLoggingAppender.doAppend(HikariLoggingAppender.java:132) | SuperTokens - Exception during pool initialization.
2023-03-13 00:26:22 
2023-03-13 00:26:22 13 Mar 2023 06:26:22:552 +0000 | INFO | pid: 3990a63d-e701-43c7-bc41-4f23273b7c88 | [main] thread | io.supertokens.storage.postgresql.ConnectionPool.initPool(ConnectionPool.java:154) | Trying again in a few seconds for 57.7 mins...
21 Views