Fakultas Ilmu Komputer UI

docker-compose.yml 506 Bytes
Newer Older
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
version: "3"

services:
  pplbackend:
    build: .
    restart: always
    entrypoint: /opt/pplbackend/docker_start.sh
    environment:
      - DB_NAME=bisago
      - DB_USER=bisago
      - DB_PASSWORD=poipole
      - DB_HOST=bisago_db
      - DB_PORT=5432
    ports:
      - "80:8000"
    depends_on:
      - bisago_db
  bisago_db:
    image: postgres
    restart: always
    ports:
      - "5432"
    environment:
      - POSTGRES_DB=bisago
      - POSTGRES_USER=bisago
      - POSTGRES_PASSWORD=poipole