docker-compose.yml 459 Bytes
Newer Older
Alex Castaño's avatar
Alex Castaño committed
1 2 3 4
version: '3.5'

services:
  web:
5 6 7
    # You can build your own image from the source running:
    # $ make build
    # $ make tag_latest
Mayel's avatar
Mayel committed
8
    image: "moodlenet/moodlenet:latest"
Alex Castaño's avatar
Alex Castaño committed
9 10 11 12 13 14 15
    ports:
      - "4000:4000"
    env_file:
      - config/docker.env
    depends_on:
      - db
  db:
16
    image: postgres:9.6.6-alpine
Alex Castaño's avatar
Alex Castaño committed
17 18 19 20 21 22
    # volumes:
    #   - "./volumes/postgres:/var/lib/postgresql/data"
    # ports:
    #   - "5432:5432"
    env_file:
      - config/docker.env