Skip to content

docker-compose.yml

Here is the current working setup. Kindy watch indentation errors when copying this code to your production setup. Additionally, part of the code has been commented using # symbol. This is meant to give you guidance on the code reasoning.
services:
proxy:
container_name: fdp-proxy
image: nginx:latest
ports:
- 80:80
- 443:443
volumes:
# Mount the nginx folder with the configuration
- ./nginx:/etc/nginx:ro
# Mount the letsencrypt certificates
- /etc/letsencrypt:/etc/letsencrypt:ro
restart: always

fdp:
container_name: fdp
image: fairdata/fairdatapoint:1.15.0
volumes:
- ./application.yml:/fdp/application.yml:ro
depends_on:
- blazegraph
- mongo
restart: unless-stopped

fdp-client:
container_name: fdp-client
image: fairdata/fairdatapoint-client:1.15.0
environment:
- FDP_HOST=fdp
depends_on:
- fdp
restart: unless-stopped

mongo:
container_name: mongo
image: mongo:4.0.12
ports:
- 127.0.0.1:27017:27017
volumes:
- ./mongo/data:/data/db
restart: unless-stopped

blazegraph:
container_name: blazegraph
image: metaphacts/blazegraph-basic:latest
ports:
- 8081:8080
volumes:
- ./blazegraph:/blazegraph-data
environment:
- JAVA_OPTS=-Xmx2g -Xms1g
restart: unless-stopped


Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.