Files
photo-editor/deploy/docker-compose.yml

24 lines
920 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Файл развёртывания на хосте Portainer.
# Используется workflow .gitea/workflows/deploy.yml (публикует образ,
# уже собранный workflow build-container).
services:
photo-editor:
image: git.byte-mate.ru/coder/photo-editor:latest
pull_policy: always
container_name: kadr-photo-editor
ports:
- "3000:3000"
volumes:
# История версий — именованный том, переживает обновление стека
- kadr-history:/app/history
# Аутентификация и конфиг Codex с хоста Portainer.
# Альтернатива — переменная OPENAI_API_KEY ниже.
- /root/.codex:/root/.codex
environment:
- COMFY_URL=http://192.168.31.240:8188
# - OPENAI_API_KEY=${OPENAI_API_KEY}
restart: unless-stopped
volumes:
kadr-history: