2020-05-28 11:40:41 +02:00
|
|
|
build-dev:
|
2021-02-08 17:40:30 +01:00
|
|
|
make -C caddy build-dev
|
2020-05-28 11:40:41 +02:00
|
|
|
git submodule foreach 'make build-dev'
|
|
|
|
docker-compose -f docker/docker-compose.dev.yml build
|
|
|
|
|
|
|
|
run-dev: | build-dev
|
2021-03-25 13:13:49 +01:00
|
|
|
USER_ID=$$(id -u $${USER}) GROUP_ID=$$(id -g $${USER}) docker-compose -f docker/docker-compose.dev.yml up
|
2020-05-28 11:40:41 +02:00
|
|
|
|
|
|
|
stop-dev:
|
|
|
|
docker-compose -f docker/docker-compose.dev.yml down
|
|
|
|
|
2021-02-18 11:22:41 +01:00
|
|
|
server-shell:
|
|
|
|
docker-compose -f docker/docker-compose.dev.yml run --entrypoint="" server docker/wait-for-dev-dependencies.sh
|
2021-03-25 13:13:49 +01:00
|
|
|
USER_ID=$$(id -u $${USER}) GROUP_ID=$$(id -g $${USER}) docker-compose -f docker/docker-compose.dev.yml run --entrypoint="" server bash
|
2021-02-18 11:22:41 +01:00
|
|
|
docker-compose -f docker/docker-compose.dev.yml down
|
2020-05-28 11:40:41 +02:00
|
|
|
|
2021-02-15 11:19:05 +01:00
|
|
|
reload-proxy:
|
|
|
|
docker-compose -f docker/docker-compose.dev.yml exec -w /etc/caddy proxy caddy reload
|
2021-03-25 13:13:49 +01:00
|
|
|
|
|
|
|
clear-cache:
|
|
|
|
docker-compose -f docker/docker-compose.dev.yml exec redis redis-cli flushall
|
|
|
|
docker-compose -f docker/docker-compose.dev.yml restart autoupdate
|
|
|
|
docker-compose -f docker/docker-compose.dev.yml restart server
|