mirror of
https://github.com/gramps-project/gramps-web.git
synced 2026-04-17 12:48:04 -04:00
34 lines
769 B
YAML
34 lines
769 B
YAML
# 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
|
|
|
|
volumes:
|
|
gramps_users:
|
|
gramps_db:
|