docker
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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: реплики за балансировщиком
|
||||
Reference in New Issue
Block a user