🏗️」 wip: moved the rest to external compose file

This commit is contained in:
2025-07-22 16:44:37 +02:00
parent 4de9a323e4
commit 49fcfe95a5
3 changed files with 52 additions and 50 deletions

View File

@ -0,0 +1,31 @@
services:
user-api:
container_name: transcendence-api-user
build:
dockerfile: docker/api-base/Dockerfile
context: ..
volumes:
- db-user:/db
networks:
- front
- back
environment:
- TZ=Europe/Paris
- API_TARGET=user
- JWT_SECRET=${JWT_SECRET}
restart: unless-stopped
auth-api:
container_name: transcendence-api-auth
build:
dockerfile: docker/api-base/Dockerfile
context: ..
volumes:
- db-auth:/db
networks:
- front
- back
environment:
- TZ=Europe/Paris
- API_TARGET=auth
- JWT_SECRET=${JWT_SECRET}
restart: unless-stopped