compose file
This commit is contained in:
parent
86aace1e50
commit
e41a9ac5a2
53
face_recognition/docker-compose.yml
Normal file
53
face_recognition/docker-compose.yml
Normal file
@ -0,0 +1,53 @@
|
||||
version: "2"
|
||||
|
||||
networks:
|
||||
face-recognition:
|
||||
external: false
|
||||
proxy:
|
||||
external:
|
||||
name: proxy
|
||||
|
||||
volumes:
|
||||
face_minio_data:
|
||||
driver: local
|
||||
|
||||
services:
|
||||
flask:
|
||||
image: face-recognition-flask:latest
|
||||
container_name: flask
|
||||
environment:
|
||||
- s3-adress = minio
|
||||
- s3-name = face-minio
|
||||
- s3-password = testpw1
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- face-recognition
|
||||
- proxy
|
||||
ports:
|
||||
- "5555:5000"
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.frontend.rule=Host:face.sguba.de
|
||||
- traefik.port=5555
|
||||
- traefik.docker.network=proxy
|
||||
depends_on:
|
||||
- minio
|
||||
|
||||
minio:
|
||||
image: minio/minio
|
||||
restart: unless-stopped
|
||||
container_name: minio
|
||||
ports:
|
||||
- "9999:9000"
|
||||
environment:
|
||||
- MINIO_ACCESS_KEY=face-minio
|
||||
- MINIO_ACCESS_KEY=testpw1
|
||||
networks:
|
||||
- face-recognition
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- treafik.frontend.rule=face-minio.sguba.de
|
||||
- traefik.port=9999
|
||||
- traeffik.docker.network=proxy
|
||||
volumes:
|
||||
- face_minio_data:/data
|
Loading…
Reference in New Issue
Block a user