Created
May 23, 2019 12:01
-
-
Save eriktonon/4a8c26168a3e70a3531e63f51f6de0b9 to your computer and use it in GitHub Desktop.
docker-compose base swarm
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: | |
web: | |
image: eriktonon/python3_dlib_face_reco | |
deploy: | |
replicas: 5 | |
resources: | |
limits: | |
cpus: "9.9" | |
memory: 2048M | |
restart_policy: | |
condition: on-failure | |
volumes: | |
- .:/app | |
ports: | |
- "5000:5000" | |
networks: | |
- webnet | |
networks: | |
webnet: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment