parent
f12ea87744
commit
0bc92f87c3
@ -0,0 +1,25 @@ |
||||
**/.classpath |
||||
**/.dockerignore |
||||
**/.env |
||||
**/.git |
||||
**/.gitignore |
||||
**/.project |
||||
**/.settings |
||||
**/.toolstarget |
||||
**/.vs |
||||
**/.vscode |
||||
**/*.*proj.user |
||||
**/*.dbmdl |
||||
**/*.jfm |
||||
**/azds.yaml |
||||
**/bin |
||||
**/charts |
||||
**/docker-compose* |
||||
**/Dockerfile* |
||||
**/node_modules |
||||
**/npm-debug.log |
||||
**/obj |
||||
**/secrets.dev.yaml |
||||
**/values.dev.yaml |
||||
LICENSE |
||||
README.md |
@ -0,0 +1,6 @@ |
||||
DATABASE_HOSTNAME=localhost |
||||
DATABASE_PORT=3306 |
||||
DATABASE_NAME=collaborateur_epa |
||||
APP_DB_USERNAME=root |
||||
APP_DB_PASSWORD=root |
||||
APP_DB_ROOT_PASSWORD=root |
@ -0,0 +1,11 @@ |
||||
version: '3.4' |
||||
|
||||
services: |
||||
api: |
||||
environment: |
||||
- ASPNETCORE_ENVIRONMENT=Development |
||||
- ASPNETCORE_URLS=https://+:443;http://+:80 |
||||
- ASPNETCORE_Kestrel__Certificates__Default__Password=password |
||||
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx |
||||
volumes: |
||||
- ~/.aspnet/https:/https:ro |
@ -0,0 +1,46 @@ |
||||
version: '3.4' |
||||
|
||||
volumes: |
||||
data-volume: {} |
||||
|
||||
services: |
||||
|
||||
db: |
||||
image: "mariadb:10.7.1" |
||||
restart: always |
||||
environment: |
||||
- MYSQL_DATABASE=${DATABASE_NAME} |
||||
- MYSQL_USERNAME=${APP_DB_USERNAME} |
||||
- MYSQL_PASSWORD=${APP_DB_PASSWORD} |
||||
- MYSQL_ROOT_PASSWORD=${APP_DB_ROOT_PASSWORD} |
||||
volumes: |
||||
- data-volume:/var/lib/mysql |
||||
- ./db/init_db.sql:/docker-entrypoint-initdb.d/init.sql |
||||
|
||||
api: |
||||
image: ${DOCKER_REGISTRY-}espacecollabbackendapi |
||||
build: |
||||
context: ./../Collaborateur-Epa-Back/Collaborateur_Epa_Back |
||||
dockerfile: espacecollab.backend.api/Dockerfile |
||||
ports: |
||||
- "5000:80" |
||||
- "5001:443" |
||||
links: |
||||
- db |
||||
environment: |
||||
- DATABASE_HOSTNAME=db |
||||
- DATABASE_PORT=3306 |
||||
- DATABASE_NAME=${DATABASE_NAME} |
||||
- DATABASE_USERNAME=${APP_DB_USERNAME} |
||||
- DATABASE_PASSWORD=${APP_DB_PASSWORD} |
||||
|
||||
|
||||
front: |
||||
image: ${DOCKER_REGISTRY-}collab-front |
||||
build: |
||||
context: ./../Collaborateur-Epa-Front |
||||
dockerfile: ./Dockerfile |
||||
ports: |
||||
- "8083:80" |
||||
links: |
||||
- api |
Loading…
Reference in new issue