1
0

Transcriber: rewrite deploy

Same as homepage deploy

Prepare for two-step deploy:
- local build and fix local tag
- deploy to remote server
This commit is contained in:
2025-10-23 11:37:24 +03:00
parent 61e2431975
commit 6fd6d76594
5 changed files with 54 additions and 52 deletions

View File

@@ -0,0 +1,24 @@
services:
transcriber_app:
# noinspection ComposeUnknownValues
image: "{{ registry_transcriber_image }}"
container_name: transcriber_app
user: "{{ user_create_result.uid }}:{{ user_create_result.group }}"
restart: unless-stopped
volumes:
- "{{ config_file }}:/config/config.toml:ro"
- "{{ data_dir }}:/data"
networks:
- "web_proxy_network"
- "monitoring_network"
environment:
- "USER_UID={{ user_create_result.uid }}"
- "USER_GID={{ user_create_result.group }}"
command: ./transcriber --config=/config/config.toml
networks:
web_proxy_network:
external: true
monitoring_network:
external: true