docker-compose.yml 796 Bytes
Newer Older
1 2 3 4 5
version: '2'
services:
  web:
    build: .
    ports:
6
      - '8000:8000'
mdsecurity's avatar
mdsecurity committed
7
    command: /bin/bash ./startup.sh #python go/manage.py runserver 0.0.0.0:8000
8 9 10 11
    volumes:
      - .:/go
    depends_on:
      - db
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
    # environment:
    #   host: '*' 
    #   email_domain: '@masonlive.gmu.edu'
    #   cas_url: 'https://nanderson.me/cas/'
    #   superuser: 'dhaynes3' 
    #   SECRET_KEY: 'much-secret'
    #   DB_NAME: 'go'
    #   DB_USER: 'go'
    #   DB_PASSWORD: 'go'
    #   DB_HOST: ''
    #   PIWIK_SITE_ID: ''
    #   PIWIK_URL: ''
    #   EMAIL_HOST: ''
    #   EMAIL_PORT: ''
    #   EMAIL_HOST_USER: ''
    #   EMAIL_HOST_PASSWORD: ''
28 29 30 31 32 33 34 35
  db:
    image: mysql
    environment:
      MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
      MYSQL_DATABASE: go
      MYSQL_USER: go
      MYSQL_PASSWORD: go