55 lines
908 B
YAML
55 lines
908 B
YAML
services:
|
|
|
|
test:
|
|
build:
|
|
dockerfile: ./Dockerfile-test
|
|
env_file: .env
|
|
volumes:
|
|
- .:/usr/src/app
|
|
networks:
|
|
- core_app
|
|
|
|
|
|
api-fastapi:
|
|
build: src/infra/api/fastapi/
|
|
env_file: .env
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- ./src:/usr/src/app/src
|
|
- ./src/infra/api/fastapi/:/usr/src/app
|
|
networks:
|
|
- core_app
|
|
|
|
api-flask:
|
|
build: src/infra/api/flask/
|
|
env_file: .env
|
|
ports:
|
|
- "5000:5000"
|
|
volumes:
|
|
- ./src:/usr/src/app/src
|
|
- ./src/infra/api/flask/:/usr/src/app
|
|
networks:
|
|
- core_app
|
|
|
|
nginx:
|
|
image: nginx:latest
|
|
container_name: keycloak.internal
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
|
networks:
|
|
- core_app
|
|
|
|
mailhog:
|
|
image: mailhog/mailhog
|
|
ports:
|
|
- "8025:8025"
|
|
- "1025:1025"
|
|
|
|
|
|
networks:
|
|
core_app:
|
|
external: true
|