mirror of
https://github.com/gramps-project/gramps-web.git
synced 2026-04-17 12:48:04 -04:00
36 lines
813 B
YAML
36 lines
813 B
YAML
# docker-compose file for frontend development
|
|
# do not use in production!
|
|
# https://www.grampsweb.org/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:
|