33 lines
633 B
YAML
33 lines
633 B
YAML
|
version: '3.8'
|
||
|
|
||
|
services:
|
||
|
backend:
|
||
|
build:
|
||
|
context: ./backend
|
||
|
dockerfile: Dockerfile
|
||
|
ports:
|
||
|
- "8000:8000"
|
||
|
environment:
|
||
|
- SECRET_KEY=${SECRET_KEY}
|
||
|
- USERNAME=${USERNAME}
|
||
|
- PASS_HASH=${PASS_HASH}
|
||
|
- ALGORITHM=${ALGORITHM}
|
||
|
networks:
|
||
|
- fabriquedoc-network
|
||
|
|
||
|
frontend:
|
||
|
build:
|
||
|
context: ./frontend
|
||
|
dockerfile: Dockerfile
|
||
|
ports:
|
||
|
- "8051:8051"
|
||
|
depends_on:
|
||
|
- backend
|
||
|
environment:
|
||
|
- FABRIQUEDOC_ENDPOINT=${FABRIQUEDOC_ENDPOINT}
|
||
|
networks:
|
||
|
- fabriquedoc-network
|
||
|
|
||
|
networks:
|
||
|
fabriquedoc-network:
|
||
|
name: fabriquedoc-network
|