https://github.com/SuziKim/DCCW
Raw File
Tip revision: b161e711e3345275bbd677dcc801eb80a4c690a7 authored by Suzi Kim on 18 June 2022, 04:51:03 UTC
Remove demo URL
Tip revision: b161e71
docker-compose.yml
version: "3"
services:
  nginx:
    image: nginx:latest
    container_name: nginx
    ports:
      - "80:80/tcp"
    volumes:
      - ./nginx:/etc/nginx/conf.d
      - ./static:/static
      - ./user_data:/user_data
    depends_on:
      - web
  web:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: web
    command: gunicorn DCCWWebDemo.wsgi:application --bind 0.0.0.0:8000
    volumes:
      - ./static:/app/static
      - ./user_data:/app/user_data
    expose:
      - "8000"
back to top