fabriquedoc/docker-compose-local.yml

30 lines
540 B
YAML
Raw Normal View History

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