# docker-compose file for frontend development # do not use in production! # https://gramps-project.github.io/web/dev-frontend/setup/ version: "3.8" services: gramps-proxy: image: nginx container_name: gramps-proxy-dev volumes: - ./dev/nginx.conf:/etc/nginx/nginx.conf ports: - "5555:80" gramps-api: container_name: gramps-api-dev build: context: ./dev dockerfile: Dockerfile.api volumes: - gramps_users:/app/users # persist user database - gramps_db:/root/.gramps/grampsdb # persist Gramps database gramps-frontend: container_name: gramps-frontend-dev build: context: . dockerfile: ./dev/Dockerfile.frontend volumes: - ./:/app - node_modules:/app/node_modules volumes: gramps_users: gramps_db: node_modules: