linkding/scripts/run-docker.sh

13 lines
312 B
Bash
Raw Permalink Normal View History

2023-05-21 12:32:24 +00:00
#!/usr/bin/env bash
variant="${1:-default}"
docker build -f "docker/$variant.Dockerfile" -t sissbruecker/linkding:local .
2023-05-21 12:32:24 +00:00
docker rm -f linkding-local || true
docker run --name linkding-local --rm -p 9090:9090 \
-e LD_SUPERUSER_NAME=admin \
-e LD_SUPERUSER_PASSWORD=admin \
sissbruecker/linkding:local