Created
March 8, 2020 05:50
-
-
Save zxx/f5cf1e6294c64f875dcd52ecf2c919d6 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' | |
services: | |
tracker: | |
build: . | |
expose: | |
- "5000" | |
nginx: | |
image: nginx:latest | |
volumes: | |
- ./nginx.conf:/etc/nginx/nginx.conf | |
devices: | |
- tracker | |
ports: | |
- "80:80" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tracker 服务启动3个实例
docker-compose up --scale tracker=3