https://github.com/marcus67/docker-graylog
https://github.com/marcus67/docker-graylog
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/marcus67/docker-graylog
- Owner: marcus67
- Created: 2017-06-14T16:50:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-15T22:25:31.000Z (about 9 years ago)
- Last Synced: 2025-02-14T05:43:35.539Z (over 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-graylog
## Purpose
The container uses the base image graylog2/server:2.2.1-1 with one additional feature: it allows for a re-mapping of user id and group id
so that the main process outside the container has a valid UID and GID.
## Configuration
Follow these steps:
* create a desired user and a desired group on the host server (using e.g. `adduser`)
* add the following entries to your container environment (e.g. in `docker-compose.yaml`):
* `TARGET_USERNAME: graylog`
* `TARGET_UID: `
* `TARGET_GROUPNAME: graylog`
* `TARGET_GID: `
where `` and `` have to be replaced by the ids used for the created host user and group respectively
## Example
There is a sample [`docker-compose.yaml`](docker-compose.yaml) to look at.