docker-documentation/images/docker-chevereto.md

192 wiersze
9.5 KiB
Markdown
Czysty Zwykły widok Historia

2021-02-13 08:50:44 +00:00
---
title: chevereto
---
2021-04-17 08:52:30 +00:00
<!-- DO NOT EDIT THIS FILE MANUALLY -->
<!-- Please read the https://github.com/linuxserver/docker-chevereto/blob/master/.github/CONTRIBUTING.md -->
2020-09-07 16:24:15 +00:00
# [linuxserver/chevereto](https://github.com/linuxserver/docker-chevereto)
2021-12-18 08:49:03 +00:00
[![Scarf.io pulls](https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Fchevereto?color=94398d&label-color=555555&logo-color=ffffff&style=for-the-badge&package-type=docker)](https://scarf.sh/gateway/linuxserver-ci/docker/linuxserver%2Fchevereto)
2020-09-07 16:24:15 +00:00
[![GitHub Stars](https://img.shields.io/github/stars/linuxserver/docker-chevereto.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-chevereto)
[![GitHub Release](https://img.shields.io/github/release/linuxserver/docker-chevereto.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-chevereto/releases)
[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub%20Package&logo=github)](https://github.com/linuxserver/docker-chevereto/packages)
2021-01-13 03:39:35 +00:00
[![GitLab Container Registry](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitLab%20Registry&logo=gitlab)](https://gitlab.com/linuxserver.io/docker-chevereto/container_registry)
2021-10-02 08:46:38 +00:00
[![Quay.io](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Quay.io)](https://quay.io/repository/linuxserver.io/chevereto)
2020-09-07 16:24:15 +00:00
[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/chevereto.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=pulls&logo=docker)](https://hub.docker.com/r/linuxserver/chevereto)
[![Docker Stars](https://img.shields.io/docker/stars/linuxserver/chevereto.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=stars&logo=docker)](https://hub.docker.com/r/linuxserver/chevereto)
[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-chevereto%2Fjob%2Fmaster%2F&logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-chevereto/job/master/)
2020-11-02 16:16:17 +00:00
[![LSIO CI](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=CI&query=CI&url=https%3A%2F%2Fci-tests.linuxserver.io%2Flinuxserver%2Fchevereto%2Flatest%2Fci-status.yml)](https://ci-tests.linuxserver.io/linuxserver/chevereto/latest/index.html)
2020-09-07 16:24:15 +00:00
2021-10-21 15:41:47 +00:00
[Chevereto](https://github.com/rodber/chevereto-free) is an image hosting software that allows you to create a beautiful and full-featured image hosting website on your own server. It's your hosting and your rules, so say goodbye to closures and restrictions.
2020-09-07 16:24:15 +00:00
## Supported Architectures
2022-04-30 08:49:06 +00:00
We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
2020-09-07 16:24:15 +00:00
2022-04-30 08:49:06 +00:00
Simply pulling `lscr.io/linuxserver/chevereto:latest` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
2020-09-07 16:24:15 +00:00
The architectures supported by this image are:
2022-04-30 08:49:06 +00:00
| Architecture | Available | Tag |
| :----: | :----: | ---- |
| x86-64 | ✅ | amd64-\<version tag\> |
| arm64 | ✅ | arm64v8-\<version tag\> |
| armhf| ✅ | arm32v7-\<version tag\> |
2020-09-07 16:24:15 +00:00
2021-04-17 08:52:30 +00:00
## Application Setup
2021-10-21 15:41:47 +00:00
Chevereto-Free now has a maintainer!
2021-07-22 14:56:51 +00:00
2021-10-21 15:41:47 +00:00
~~Chevereto-Free will be EOL on 2021-12-31 and no new releases will be produced for it. Our container will continue to be updated until at least that date but we cannot make any assurances beyond it.~~
Access the WebUI at <your-ip>:443. For more information, check out [Chevereto Free](https://github.com/rodber/chevereto-free).
2020-09-07 16:24:15 +00:00
2021-07-22 14:56:51 +00:00
Chevereto requires a MariaDB database, we have an image available [here](https://github.com/linuxserver/docker-mariadb) if you require it.
If you are putting Chevereto behind a reverse proxy and need the Real IP to be passed through, edit /config/nginx/site-confs/default, and set `set_real_ip_from` to match the IP address/address block of your proxy server(s).
2020-09-07 16:24:15 +00:00
## Usage
2021-07-03 08:46:12 +00:00
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
2020-09-07 16:24:15 +00:00
2021-07-03 08:46:12 +00:00
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
2020-09-07 16:24:15 +00:00
```yaml
---
2021-07-22 14:56:51 +00:00
version: "2"
2020-09-07 16:24:15 +00:00
services:
chevereto:
2021-10-18 17:30:00 +00:00
image: lscr.io/linuxserver/chevereto
2020-09-07 16:24:15 +00:00
container_name: chevereto
environment:
- PUID=1000
- PGID=1000
2021-07-22 14:56:51 +00:00
- TZ=Europe/London
2020-09-07 16:24:15 +00:00
volumes:
2021-07-22 14:56:51 +00:00
- /path/to/config:/config
- /path/to/data:/data
2020-09-07 16:24:15 +00:00
ports:
- 80:80
- 443:443
restart: unless-stopped
2021-07-22 14:56:51 +00:00
depends_on:
- chevereto-db
chevereto-db:
2021-10-18 17:30:00 +00:00
image: lscr.io/linuxserver/mariadb
2021-07-22 14:56:51 +00:00
container_name: chevereto-db
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- MYSQL_ROOT_PASSWORD=<yourrootpass>
- MYSQL_DATABASE=chevereto
- MYSQL_USER=chevereto
- MYSQL_PASSWORD=<yourdbpass>
volumes:
- /path/to/config:/config
restart: unless-stopped
2020-09-07 16:24:15 +00:00
```
2021-07-03 08:46:12 +00:00
### docker cli ([click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))
2020-11-02 16:16:17 +00:00
2021-04-17 08:52:30 +00:00
```bash
2020-11-02 16:16:17 +00:00
docker run -d \
--name=chevereto \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=<TZ> \
-p 80:80 \
-p 443:443 \
2020-11-13 13:43:04 +00:00
-v <path to config on host>:/config \
-v <path to data on host>:/data \
2020-11-02 16:16:17 +00:00
--restart unless-stopped \
2022-04-30 08:49:06 +00:00
lscr.io/linuxserver/chevereto:latest
2020-11-02 16:16:17 +00:00
```
2020-09-07 16:24:15 +00:00
## Parameters
Docker images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
### Ports (`-p`)
| Parameter | Function |
| :----: | --- |
| `80` | http gui |
| `443` | https gui |
### Environment Variables (`-e`)
| Env | Function |
| :----: | --- |
| `PUID=1000` | for UserID - see below for explanation |
| `PGID=1000` | for GroupID - see below for explanation |
| `TZ=<TZ>` | Timezone (i.e., America/New_York) |
### Volume Mappings (`-v`)
| Volume | Function |
| :----: | --- |
| `/config` | config directory volume mapping |
2020-11-13 13:43:04 +00:00
| `/data` | data directory volume mapping |
2020-09-07 16:24:15 +00:00
2021-10-02 08:46:38 +00:00
#### Miscellaneous Options
| Parameter | Function |
| :-----: | --- |
2020-09-07 16:24:15 +00:00
## Environment variables from files (Docker secrets)
You can set any environment variable from a file by using a special prepend `FILE__`.
As an example:
2021-04-17 08:52:30 +00:00
```bash
2020-09-07 16:24:15 +00:00
-e FILE__PASSWORD=/run/secrets/mysecretpassword
```
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
## Umask for running applications
For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional `-e UMASK=022` setting.
Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up [here](https://en.wikipedia.org/wiki/Umask) before asking for support.
## User / Group Identifiers
When using volumes (`-v` flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
2021-04-17 08:52:30 +00:00
```bash
2020-09-07 16:24:15 +00:00
$ id username
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
```
## Docker Mods
2021-04-17 08:52:30 +00:00
2020-11-02 16:16:17 +00:00
[![Docker Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=chevereto&query=%24.mods%5B%27chevereto%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=chevereto "view available mods for this container.") [![Docker Universal Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=universal&query=%24.mods%5B%27universal%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=universal "view available universal mods.")
2020-09-07 16:24:15 +00:00
2020-11-02 16:16:17 +00:00
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
2020-09-07 16:24:15 +00:00
## Support Info
* Shell access whilst the container is running:
* `docker exec -it chevereto /bin/bash`
* To monitor the logs of the container in realtime:
* `docker logs -f chevereto`
* Container version number
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' chevereto`
* Image version number
2022-04-30 08:49:06 +00:00
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/chevereto:latest`
2020-09-07 16:24:15 +00:00
## Versions
2021-11-13 11:55:44 +00:00
* **13.11.21:** - Add composer to fix missing dependencies.
2021-10-21 15:41:47 +00:00
* **21.10.21:** - Removed deprecation warning, change reposiory links.
2021-07-22 14:56:51 +00:00
* **22.07.21:** - Rebase to Alpine 3.14.
2020-09-07 16:24:15 +00:00
* **28.08.20:** - Initial Release.