Newer
Older
[](GRIEFED_GITHUB_REPO)
[](https://www.griefed.de)
[](https://www.griefed.de/blog)
[](https://fleet.griefed.de)
[](https://github.com/Griefed)
[](https://hub.docker.com/u/griefed)
[](https://discord.griefed.de)
# Sources, GitHub, GitLab and Mirroring and all that good stuff
Repositories on GitHub are now for issues only. I've set up my own installation of GitLab and moved all my repositories over to [Git.Griefed.de](https://git.griefed.de/users/Griefed/projects). Make sure to check there first for the latest code before opening an issue on GitHub.
For questions, you can always join my [Discord server](https://discord.griefed.de) and talk to me there.
---
[](GRIEFED_DOCKERHUB_REPO)
[](GRIEFED_DOCKERHUB_REPO)
[](GRIEFED_DOCKERHUB_REPO)
[](GRIEFED_DOCKERHUB_REPO)
[](GRIEFED_GITHUB_REPO)
[](GRIEFED_GITHUB_REPO)
[](ORIGINAL_GITHUB_REPO)
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
Creates a Container which runs [CREATOR_NAME's](https://github.com/CREATOR_NAME) [CREATOR_REPO](CREATOR_REPO), with [lsiobase/alpine](https://hub.docker.com/r/lsiobase/alpine) as the base image, as seen on EXAMPLE_WEBSITE_IF_EXISTS.
The [lsiobase/alpine](https://hub.docker.com/r/lsiobase/alpine) image is a custom base image built with [Alpine linux](https://alpinelinux.org/) and [S6 overlay](https://github.com/just-containers/s6-overlay).
Using this image allows us to use the same user/group ids in the container as on the host, making file transfers much easier
# Deployment
Tags | Description
-----|------------
`latest` | Using the `latest` tag will pull the latest image for linux/amd64,linux/arm/v7,linux/arm64.
`develop` | The latest image of, if existent, the in-dev version of this container. Use at your own risk!
Using GitHub Workflows, images for this container are multi-arch. Simply pulling `:latest` should retrieve the correct image for your architecture.
Images are available for linux/amd64,linux/arm/v7,linux/arm64.
## pre-built images
```docker-compose.yml
version: "2"
services:
GRIEFED_DOCKERHUB_REPO:
container_name: GRIEFED_DOCKERHUB_REPO
restart: on-failure:3
image: GRIEFED_DOCKERHUB_REPO
ports:
- 8080:PORT
environment:
- TZ=Europe/Berlin
- PUID=1000
- PGID=1000
volumes:
- ./path/to/config:/config
- ./path/to/data:/data
```
## cli
```bash
GET_FROM_FLEET
```
# Configuration
| Configuration | Explanation |
|-------------------------------------------------------------------------|--------------------------------------------------|
| [Restart policy](https://docs.docker.com/compose/compose-file/#restart) | "no", always, on-failure, unless-stopped |
| TZ | Timezone |
| PUID | for UserID |
| PGID | for GroupID |
| ports | The port where the service will be available at. |
When using volumes, 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:
```
$ id username
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
```
# Building the image yourself
Use the [Dockerfile](GRIEFED_GITHUB_REPO/Dockerfile) to build the image yourself, in case you want to make any changes to it
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
docker-compose.yml:
```docker-compose.yml
version: "2"
services:
GRIEFED_DOCKERHUB_REPO:
container_name: GRIEFED_DOCKERHUB_REPO
restart: on-failure:3
build: ./GRIEFED_GITHUB_REPO
ports:
- 8080:PORT
environment:
- TZ=Europe/Berlin
- PUID=1000
- PGID=1000
volumes:
- ./path/to/config:/config
- ./path/to/data:/data
```
1. Clone the repository: `git clone GRIEFED_GITHUB_REPO.git ./GRIEFED_GITHUB_REPO`
1. Prepare docker-compose.yml file as seen above
1. `docker-compose up -d --build GRIEFED_DOCKERHUB_REPO`
1. Visit IP.ADDRESS.OF.HOST:8080
1. ???