forked from gramps-project/gramps-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (32 loc) · 813 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (32 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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: