version: '3.8' services: backend: build: context: ./backend dockerfile: Dockerfile ports: - "8080:8080" 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