chore: add documentation

This commit is contained in:
2022-10-13 18:15:20 +02:00
parent 76d8b3868a
commit cb4f9b2766
3 changed files with 114 additions and 29 deletions

View File

@@ -1,29 +1,16 @@
version: '2'
services:
frontend:
build:
context: frontend/
args:
BACKEND_BASE_URL: http://localhost:8080
BACKEND_BASE_URL: http://pluss.itsonus.fr/api
ports:
- "3000:80"
networks:
- front-tier
- back-tier
# configs:
# - httpd-config
- "8190:80"
backend:
build: backend/
ports:
- "8080:8080"
- "8191:8080"
volumes:
- ./data:/app/data
environment:
- CORS_ALLOWED_ORIGINS=http://localhost:8080
networks:
- back-tier
networks:
# The presence of these objects is sufficient to define them
front-tier: {}
back-tier: {}
- ./data:/app/data # H2 database