docker-compose.yml 355 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
version: '3'
services:
  database:
    image: postgres:11.2
    environment:
      POSTGRES_USER: codimd
      POSTGRES_PASSWORD: password
      POSTGRES_DB: codimd
  codimd:
    build:
      dockerfile: ./deployments/Dockerfile
      context: ../
    environment:
      CMD_DB_URL: postgres://codimd:password@database/codimd
    ports:
      - 3000:3000