summaryrefslogtreecommitdiff
path: root/docker-compose.override.yml
blob: 86aff681a776d7e4d0f0c7026bf3b4c46b363966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: "3.8"

# Docker Compose overrides for development environments
services:
  ui:
    build: opendc-web/opendc-web-ui
    ports:
      - "8080:3000"
    environment:
      NEXT_PUBLIC_API_BASE_URL: http://localhost:8081

  server:
    build:
      context: .
      dockerfile: opendc-web/opendc-web-server/Dockerfile
    ports:
      - "8081:8080"
    environment:
      SENTRY_ENVIRONMENT: "development"

  postgres:
    ports:
      - "5432:5432"

  pgadmin:
    image: dpage/pgadmin4
    restart: on-failure
    networks:
      - backend
    depends_on:
      - postgres
    ports:
      - "5050:80"
    environment:
      PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-pgadmin4@pgadmin.org}
      PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin}
      PGADMIN_CONFIG_SERVER_MODE: 'False'

volumes:
  pgadmin: