version: '3' services: server: build: context: . dockerfile: Dockerfile depends_on: - db ports: - "8000:8000" user: app volumes: - .:/app command: dev links: - db env_file: - .env environment: - PYTHONUNBUFFERED=1 - PYTHONDONTWRITEBYTECODE=1 - DATABASE_URL=postgres://postgres@db/postgres - IODIDE_SERVER_DEBUG=True - SECRET_KEY=59114b6a-2858-4caf-8878-482a24ee9542 - DJANGO_LOG_LEVEL=DEBUG - DJANGO_LOG_FORMAT=json db: image: postgres:9.5-alpine logging: driver: "none"