-
Notifications
You must be signed in to change notification settings - Fork 37
Quick Start
Leif Johansson edited this page Apr 1, 2021
·
1 revision
Assuming you have docker and docker-compose installed, here is how to get started with pyFF
version: "3"
services:
mdq-browser:
image: docker.sunet.se/mdq-browser:${MDQ_BROWSER_VERSION:-1.0.1}
container_name: mdq_browser
ports:
- "8080:80"
environment:
- MDQ_HOST=pyff
- MDQ_PORT=8080
- HOSTPORT=localhost:8080
- PYFF_APIS=true
networks:
docker:
depends_on:
- pyff
pyff:
build: .
image: docker.sunet.se/pyff:${PYFF_VERSION:-2.0.0}
container_name: pyff
environment:
- LOGLEVEL=DEBUG
networks:
docker:
networks:
docker:
driver: bridge
driver_opts:
com.docker.network.bridge.name: br-docker
ipam:
driver: default
config:
- subnet: 172.20.10.0/24
# docker-compose -f pyff.yml up
Point your browser to 127.0.0.1:8080 and enjoy! The pipeline you created creates a mirror copy of all of edugain for you to play around with. The frontend application in this case is SUNET/mdq-browser which is a generic MDQ frontend UI with support for pyFF extensions.