[FEAT] Full function and deployed version

This commit is contained in:
NADAL Jean-Baptiste
2026-02-19 15:15:58 +01:00
parent e7c4768589
commit cf0db69f2d
24 changed files with 6949 additions and 69 deletions

32
deploy/docker-compose.yml Normal file
View File

@@ -0,0 +1,32 @@
version: '3.8'
services:
api:
image: php:8.3-cli
container_name: ohmj-api
hostname: api
ports:
- "8000:80"
volumes:
- /mnt/tools/docker/ohmj/api:/var/www/html
- /mnt/tools/docker/ohmj/Scores:/var/www/html/legacy/Scores
environment:
- JWT_SECRET=${JWT_SECRET}
command: php -S 0.0.0.0:80 -t /var/www/html router.php
networks:
- ohmj-network
frontend:
image: nginx:alpine
container_name: ohmj-frontend
hostname: partitions
ports:
- "8080:80"
volumes:
- /mnt/tools/docker/ohmj/frontend:/usr/share/nginx/html:ro
networks:
- ohmj-network
networks:
ohmj-network:
driver: bridge