Chrly is a lightweight implementation of Minecraft skins system server.
1.8K
Dockerfile linksWhere to file issues: https://github.com/elyby/chrly/issues
Maintained by: the Ely.by team
Supported architectures:
amd64
Chrly is a lightweight implementation of Minecraft skins system server. It's packaged and distributed as a Docker image and can be downloaded from Dockerhub. App is written in Go, can withstand heavy loads and is production ready.
You can easily install Chrly using docker-compose. The configuration below (save it as docker-compose.yml) can be used to start a Chrly server. It relies on CHRLY_SECRET environment variable that you must set before running docker-compose up -d. Other possible variables are described below.
version: '2'
services:
app:
image: elyby/chrly
hostname: chrly0
restart: always
links:
- redis
volumes:
- ./data/capes:/data/capes
ports:
- "80:80"
environment:
CHRLY_SECRET: replace_this_value_in_production
redis:
image: redis:4.0-32bit
restart: always
volumes:
- ./data/redis:/data
Chrly will mount some volumes on the host machine to persist storage for capes and Redis database.
Application's configuration is based on the environment variables. You can adjust config by modifying environment key inside your docker-compose.yml file. After value will have been changed, container should be stopped and recreated. If environment variables have been changed, Docker will automatically recreate the container, so you only need to stop and up it:
docker-compose stop app
docker-compose up -d app
Variables to adjust:
| ENV | Description | Example |
|---|---|---|
| STORAGE_REDIS_POOL | By default, Chrly creates pool with 10 connection, but you may want to increase it | 20 |
| STATSD_ADDR | StatsD can be used to collect metrics | localhost:8125 |
| SENTRY_DSN | Sentry can be used to collect app errors | https://public:[email protected]/1 |
If something goes wrong, you can always access logs by executing docker-compose logs -f app.
Content type
Image
Digest
Size
10.7 MB
Last updated
over 5 years ago
docker pull elyby/chrly