version: '3' services: server: image: postgrest/postgrest ports: - "3000:3000" environment: PGRST_DB_URI: postgres://tracker:trackerpass@db:5432/tracker PGRST_OPENAPI_SERVER_PROXY_URI: http://127.0.0.1:3000 PGRST_DB_ANON_ROLE: web_anon PGRST_DB_SCHEMAS: public depends_on: - db db: image: postgres environment: POSTGRES_DB: tracker POSTGRES_USER: tracker POSTGRES_PASSWORD: trackerpass volumes: - "./pgdata:/var/lib/postgresql/data"