Skip to content

Commit 84c5f34

Browse files
authored
Merge pull request #2525 from infosiftr/redmine-passenger
Remove more Redmine passenger variant leftovers
2 parents 17e22f7 + 139a3ea commit 84c5f34

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

redmine/content.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ Running Redmine with a database server is the recommended way.
4646

4747
Run `docker stack deploy -c stack.yml %%REPO%%` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).
4848

49-
## Alternative Web Server
50-
51-
The other tags in this repository, like those with `passenger`, use the same environment and `--links` as the default tags that use Puma (`rails server`) but instead give you the option of a different web and application server. `passenger` uses [Phusion Passenger](https://www.phusionpassenger.com/). [`tini`](https://github.com/krallin/tini) is used for reaping [zombies](https://en.wikipedia.org/wiki/Zombie_process).
52-
5349
## Accessing the Application
5450

5551
Currently, the default user and password from upstream is admin/admin ([logging into the application](https://www.redmine.org/projects/redmine/wiki/RedmineInstall#Step-10-Logging-into-the-application)).
@@ -122,19 +118,7 @@ This variable is required when using Docker Swarm replicas to maintain session c
122118

123119
## Running as an arbitrary user
124120

125-
For running Redmine without Phusion Passenger you can simply use the [`--user`](https://docs.docker.com/engine/reference/run/#user) flag to `docker run` and give it a `username:group` or `UID:GID`, the user doesn't need to exist in the container
126-
127-
For running the `redmine:passenger` variant as an arbitrary user you will however need the user to exist in `/etc/passwd`. Here are a few examples for doing that:
128-
129-
1. Create the user on your host and mount `/etc/passwd:/etc/passwd:ro`
130-
131-
2. Create a Dockerfile `FROM redmine:passenger` and include something like [`RUN groupadd -r group && useradd --no-log-init -r -g group user`](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user)
132-
133-
```dockerfile
134-
FROM redmine:passenger
135-
RUN groupadd -r group && useradd --no-log-init -r -g group user
136-
USER user
137-
```
121+
You can use the [`--user`](https://docs.docker.com/engine/reference/run/#user) flag to `docker run` and give it a `username:group` or `UID:GID`, the user doesn't need to exist in the container.
138122

139123
## Docker Secrets
140124

0 commit comments

Comments
 (0)