vX.X.X
(tag-based) - Docker image is published per new release, recommended for production environments.latest
- Always refers to the latest Docker image version, not recommended.nightly
- Docker image is published for each commit to the main
branch, may contain bugs but is useful for testing new features.# released builds, e.g. 3.5.19
$ docker pull dzikoysk/reposilite:3.5.19
# nightly builds
$ docker pull dzikoysk/reposilite:nightly
# released builds, e.g. 3.5.19
$ docker pull ghcr.io/dzikoysk/reposilite:3.5.19
# nightly builds
$ docker pull ghcr.io/dzikoysk/reposilite:nightly
$ docker run -it -v reposilite-data:/app/data -p 80:8080 dzikoysk/reposilite:nightly
/app/data
directory by default.
To make it persistent, use named volume with -v
parameter:$ docker run -it -v reposilite-data:/app/data -p 80:8080 dzikoysk/reposilite
$ docker run -e JAVA_OPTS='-Xmx128M' -p 80:8080 dzikoysk/reposilite
REPOSILITE_OPTS
variable:$ docker run -e REPOSILITE_OPTS='--local-configuration=/app/data/custom.cdn' -p 80:8080 dzikoysk/reposilite
--mount
parameter.
Before that, you have to make sure the configuration file already exists on Docker host.
To launch Reposilite with a custom configuration, we have to mount proper file:$ docker run -it \
--mount type=bind,source=/etc/reposilite/configuration.cdn,target=/app/configuration.cdn \
-e REPOSILITE_OPTS='--local-configuration=/app/configuration.cdn' \
-v reposilite-data:/app/data \
-p 80:8080 \
dzikoysk/reposilite
--token
startup parameter as follows:- REPOSILITE_OPTS=--token admin:secret
to the environment section in docker-compose.yml
file. docker-compose up -d
token-generate admin m
to create user named 'admin' with management permission.
A strong password will be generated for you, so you should copy it.
If you really need to provide a custom one, use the --secret=<your-password>
parameter.
Please note that this type of password creation is strongly discouraged.docker-compose down
and remove the REPOSILITE_OPTS line with --token admin:secret
parameter from your compose file.docker-compose up -d
and login with your credentials provided by the token-generate command. These credentials will be persisted.Did you find misleading or deprecated content? Maybe you just feel this section misses important elements?
Copyright © 2023 dzikoysk with ❤ panda-lang