edumeet/compose
2022-05-25 00:36:38 +03:00
..
config typo 2021-06-03 13:11:18 +02:00
edumeet Update Dockerfile 2022-05-25 00:36:38 +03:00
.gitignore adding docker compose configuration for edumeet / prometheus / grafana 2021-02-25 13:05:27 +01:00
docker-compose.yml fixed theme params configuration 2021-06-03 11:43:10 +02:00
README.md added note 2021-04-30 15:17:45 +02:00

Running the development environment

Installing docker-compose:

sudo curl -L "https://github.com/docker/compose/releases/download/1.28.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

Starting:

CURRENT_USER=$UID:$GID docker-compose up --build -d

docker-compose logs -f --tail=50 edumeet

Accessing endpoints:

Note: to use the https://127.0.0.1:3443/ endpoint, visit first https://127.0.0.1:8443/ accepting the self-signed certificate exception valid also for the websocket connection.

Rebuild the web application bundle:

docker-compose exec -u $UID edumeet sh -c "cd app && yarn && yarn build"

Known issues

The docker virtual network used by this compose configuration (172.22.0.0/24) should be reacheble from all the started services. If iptables is filtering the INPUT chain, this rule is required to make the services communicating with each other:

iptables -A INPUT --src 172.22.0.0/16 -j ACCEPT