Last active
September 22, 2019 19:56
-
-
Save mrchoke/896285d48d9b3418bd523c62a252a456 to your computer and use it in GitHub Desktop.
ประกอบบทความ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.6' | |
services: | |
vuejs: | |
image: node:12 | |
volumes: | |
- ./project:/project | |
- ./vuejs.sh:/vuejs.sh | |
ports: | |
- 8111:8080 | |
- 8112:8000 | |
entrypoint: ["/vuejs.sh"] | |
working_dir: /project | |
api: | |
image: tiangolo/uvicorn-gunicorn-fastapi:python3.7 | |
volumes: | |
- ./project/api:/app | |
ports: | |
- 8113:80 | |
entrypoint: ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80", "--workers","2","--reload"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment