Skip to content

Instantly share code, notes, and snippets.

@MagnificentPako
Created February 4, 2020 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MagnificentPako/3128da32586f057d285cb32202763c8e to your computer and use it in GitHub Desktop.
Save MagnificentPako/3128da32586f057d285cb32202763c8e to your computer and use it in GitHub Desktop.
version: '3.1'
services:
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: 12345
ports:
- 5432:5432
pgadmin:
image: dpage/pgadmin4
restart: always
ports:
- 8080:8080
environment:
PGADMIN_DEFAULT_EMAIL: my@procrastination.life
PGADMIN_DEFAULT_PASSWORD: 12345
PGADMIN_LISTEN_PORT: 8080
postgrest:
image: postgrest/postgrest
ports:
- 8081:3000
environment:
PGRST_DB_URI: postgres://postgres:12345@db/market
PGRST_DB_SCHEMA: api
PGRST_DB_ANON_ROLE: web_anon
depends_on:
- db
metabase:
image: metabase/metabase
ports:
- 8082:3000
depends_on:
- db
swagger:
image: swaggerapi/swagger-ui
ports:
- 8083:8080
environment:
API_URL: http://localhost:8081
depends_on:
- postgrest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment