version: '3.8' services: backend: build: context: ./backend dockerfile: Dockerfile expose: - "8080" environment: - SECRET_KEY=${SECRET_KEY} - USERNAME=${USERNAME} - PASS_HASH=${PASS_HASH} - ALGORITHM=${ALGORITHM} networks: - fabriquedoc frontend: build: context: ./frontend dockerfile: Dockerfile expose: - "8051" depends_on: - backend environment: - FABRIQUEDOC_ENDPOINT=${FABRIQUEDOC_ENDPOINT} networks: - fabriquedoc networks: fabriquedoc: name: fabriquedoc