Skip to content

Instantly share code, notes, and snippets.

@mrchoke
Last active September 22, 2019 19:56
Show Gist options
  • Save mrchoke/896285d48d9b3418bd523c62a252a456 to your computer and use it in GitHub Desktop.
Save mrchoke/896285d48d9b3418bd523c62a252a456 to your computer and use it in GitHub Desktop.
ประกอบบทความ
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