version: '3.1' services: postgres: image: postgres:12 restart: always container_name: postgres ports: - "5432:5432" environment: POSTGRES_PASSWORD: password POSTGRES_USER: feta_user POSTGRES_DB: feta pgweb: image: sosedoff/pgweb restart: always container_name: pgweb ports: - "8081:8081" links: - postgres:postgres environment: - DATABASE_URL=postgres://feta_user:password@postgres:5432/feta?sslmode=disable depends_on: - postgres