libretranslate-api/docker-compose.yml
ale 7b1101df72
All checks were successful
continuous-integration/drone/push Build is passing
with_models=true
2024-10-07 13:19:53 +02:00

38 lines
736 B
YAML

version: '3'
services:
libretranslate:
image: libretranslate
build:
context: ./LibreTranslate
args:
with_models: true
dockerfile: docker/Dockerfile
restart: always
hostname: libretranslate
container_name: libretranslate
expose:
- "5000"
networks:
libretranslatenet:
libretranslate-api:
image: node:21-slim
restart: always
hostname: libretranslate-api
container_name: libretranslate-api
working_dir: /libretranslate-api
user: node
entrypoint:
- node
- index.js
volumes:
- ./libretranslate-api:/libretranslate-api
ports:
- "5080:3000"
networks:
libretranslatenet:
networks:
libretranslatenet: