mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-08-14 12:32:54 +02:00
「🏗️」 wip: nginx and modsec working
This commit is contained in:
@ -1,20 +1,49 @@
|
||||
services:
|
||||
front:
|
||||
image: owasp/modsecurity-crs:nginx-alpine
|
||||
ports:
|
||||
- 443:443
|
||||
# environment:
|
||||
# - euuuh
|
||||
user-api:
|
||||
container_name: transcendence-front
|
||||
build:
|
||||
dockerfile: docker/user-api/Dockerfile
|
||||
dockerfile: docker/front/Dockerfile
|
||||
context: ..
|
||||
ports:
|
||||
- 8443:443
|
||||
environment:
|
||||
SERVER_NAME: localhost
|
||||
depends_on:
|
||||
user-api:
|
||||
condition: service_started
|
||||
auth-api:
|
||||
condition: service_started
|
||||
networks:
|
||||
- front
|
||||
user-api:
|
||||
container_name: transcendence-api-user
|
||||
build:
|
||||
dockerfile: docker/api-base/Dockerfile
|
||||
context: ..
|
||||
tags:
|
||||
- api-base
|
||||
networks:
|
||||
- front
|
||||
- back
|
||||
environment:
|
||||
- API_TARGET=user
|
||||
auth-api:
|
||||
container_name: transcendence-api-auth
|
||||
build:
|
||||
dockerfile: docker/api-base/Dockerfile
|
||||
context: ..
|
||||
networks:
|
||||
- transcendence
|
||||
ports:
|
||||
- 3000:3000
|
||||
- front
|
||||
- back
|
||||
environment:
|
||||
- API_TARGET=auth
|
||||
|
||||
|
||||
|
||||
networks:
|
||||
transcendence:
|
||||
front:
|
||||
external: false
|
||||
name: transcendence
|
||||
name: front-backend
|
||||
back:
|
||||
external: false
|
||||
name: trans-backend
|
||||
|
Reference in New Issue
Block a user