mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-08-14 12:32:54 +02:00
「🏗️」 wip: moved the rest to external compose file
This commit is contained in:
31
docker/api-base/compose.yml
Normal file
31
docker/api-base/compose.yml
Normal 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
|
Reference in New Issue
Block a user