12 lines
405 B
YAML
12 lines
405 B
YAML
services:
|
|
opencv-service:
|
|
image: git.gorodar.ru/gorodar/open_cv:latest
|
|
ports:
|
|
- "8010:8010"
|
|
#env_file: .env # секреты не коммитятся
|
|
environment:
|
|
PORT: 8010
|
|
APP_API_KEY: 4c15963f-2802-4d22-aaab-11db2ffe0eed
|
|
restart: unless-stopped
|
|
deploy:
|
|
replicas: 1 # stateless: реплики за балансировщиком |