Modif docker + ajout de la fonction de text aléatoire

This commit is contained in:
ElPoyo
2025-09-29 16:48:38 +02:00
parent 5d0993bda3
commit 4e11fd9a06
5 changed files with 43 additions and 7 deletions

25
truenas-build.yml Normal file
View File

@@ -0,0 +1,25 @@
version: '3'
services:
api:
image: elpoyo/patois-api:latest
restart: always
ports:
- '52000:3000'
environment:
- PORT=3000
- TEXTS_PATH=/app/texts
- NODE_ENV=production
volumes:
- /mnt/Data/configs/patois:/app/texts
frontend:
build:
context: .
args:
- VITE_TEXTS_API_URL=https://patois.lagaudiere.uk/api
restart: always
ports:
- '52001:80'
depends_on:
- api