24 lines
641 B
Django/Jinja
24 lines
641 B
Django/Jinja
services:
|
|
|
|
transcriber_app:
|
|
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
|