version: '3.8' services: web: build: . command: /bin/bash -c "python manage.py runserver" # command: /bin/bash -c "gunicorn -c gu_docker.py main.wsgi:application" environment: - DJANGO_ONLINE=1 volumes: # - /data/logs:/data/logs - /data/www/yixuedjango.cxhy.cn/code:/app # - /data/www/cxAIServer:/data/www/cxAIServer ports: - "16003:80" restart: unless-stopped