Commit Graph

16 Commits

Author SHA1 Message Date
Judith Roth 2b154a52c9 Documentation: Fix command for running tests in docker
This is the command the backend-test container itself promotes in its
logs. The output of the replaced command is not usable:

```
docker compose run --rm backend-test bundle exec rspec spec/models/project_spec.rb
[+]  8/8t 8/88
 ✔ Network openproject-no-tls_testing             Created                                                                                                                                                                                 0.0s
 ✔ Container openproject-no-tls-db-test-1         Started                                                                                                                                                                                 0.2s
 ✔ Container openproject-no-tls-cuprite-chrome-1  Started                                                                                                                                                                                 0.2s
 ✔ Container openproject-no-tls-chrome-1          Started                                                                                                                                                                                 0.2s
 ✔ Container openproject-no-tls-hocuspocus-test-1 Started                                                                                                                                                                                 0.3s
 ✔ Container openproject-no-tls-frontend-test-1   Started                                                                                                                                                                                 0.3s
 ✔ Container openproject-no-tls-firefox-1         Started                                                                                                                                                                                 0.2s
 ✔ Container selenium-hub                         Started                                                                                                                                                                                 0.3s
Container openproject-no-tls-frontend-test-1 Waiting
Container openproject-no-tls-frontend-test-1 Healthy
Container openproject-no-tls-backend-test-run-8cf0273581eb Creating
Container openproject-no-tls-backend-test-run-8cf0273581eb Created
Waiting for the Grid...
In a future version of Bundler, running `bundle` without argument will no longer run `bundle install`.
Instead, the `cli_help` command will be displayed. Please use `bundle install` explicitly for scripts like CI/CD.
You can use the future behavior now with `bundle config set default_cli_command cli_help --global`,
or you can continue to use the current behavior with `bundle config set default_cli_command install --global`.
This message will be removed after a default_cli_command value is set.

Bundle complete! 222 Gemfile dependencies, 494 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
13 installed gems you directly depend on are looking for funding.
  Run `bundle fund` for details
```

With `bin/compose` the output looks like this:

```
bin/compose exec rspec spec/models/project_spec.rb
DEPRECATION WARNING: Setting action_controller.escape_json_responses = true is deprecated and will have no effect in Rails 8.2. Set it to `false`, or remove the config. (called from block (2 levels) in <top (required)> at /home/dev/openproject/config/initializers/doorkeeper.rb:241)

Randomized with seed 18555

Project
  when the wiki module is enabled
    creates a wiki menu item named like the default start page
    creates a wiki
  #active?
    if active
      is true
    if not active
      is false
  #parent_allowed?
    for a project
      is truthy
    for a program
...
```
2026-03-27 11:28:06 +01:00
Eric Schubert a141788ede [chore] mention .env usage in readme 2026-01-30 13:47:05 +01:00
Jan Sandbrink 827f577c85 Allow to change TLD for docker dev stack
Instead of assuming that the TLD is .local, we allow
to overwrite it with different TLDs, so that the local setup
can be adapted to developer needs.
2026-01-27 13:05:19 +01:00
Eric Schubert 28a8b656a2 [chore] added fedora support for docker dev setup 2026-01-19 16:01:27 +01:00
Judith Roth de00e470a0 Add instructions for docker MinIO setup to README 2025-10-06 12:04:18 +02:00
Yauheni Suhakou e55134dda1 Update Docker TLS setup instructions and troubleshooting (#19872)
* Update Docker TLS setup instructions and troubleshooting

Expanded and clarified the steps for configuring Docker services with traefik labels for local TLS development. Added example configurations, emphasized the need to update both backend and frontend services, and included troubleshooting advice for blank pages due to frontend asset issues.

---------

Co-authored-by: Jan Sandbrink <j.sandbrink@openproject.com>
Co-authored-by: Pavel Balashou <ba1ashpash@gmail.com>
2025-08-13 16:22:21 +02:00
Alexander Brandon Coles 028d177bf8 Make docker dev env README.md a bit more foolproof
[ci skip]
2025-07-30 18:03:11 +01:00
Alexander Brandon Coles 26f6baa5e8 Fix typo in docker dev env README.md
[ci skip]
2025-07-24 11:19:06 +01:00
Jan Sandbrink e9d2d10712 Fix running the docker TLS stack
The latest upgrades to our frontend stack prohibited access through the
openproject.local hostname and also caused trouble with the previous setup
where the frontend stack would proxy requests to the backend.

Thus the default setup was now changed so that both frontend and backend
are exposed to the browser via different hostnames. The main service to start
will be the backend, which will redirect requests to certain assets to the frontend
service (this was already integrated into the rails routes previously).
2025-07-22 09:23:07 +02:00
Yauheni Suhakou 45aceb7faf Docker documentation update (#19330)
Added `Migrating Your Local Database Between Docker Versions` section describing how to persist PG data.
2025-07-04 17:10:07 +02:00
as-op 9283eafd5e fix markdown lint issues 2025-05-22 14:44:48 +02:00
Bruno Pagno de589680a1 adjust the text for more eloquent explanation 2024-11-22 16:43:42 +01:00
Bruno Pagno 218812e421 add note about overriding connection on backend-test 2024-11-22 15:12:02 +01:00
Oliver Günther b1e83771fa Add documentation for OIDC (#17131)
* Add documentation for OIDC

* Replace previous settings-based documentation

* Fix link

* Change FAQ

* added screenshot, minor wording changed

* text formatting changes

* Address todos

---------

Co-authored-by: Maya Berdygylyjova <MayaBerd@users.noreply.github.com>
2024-11-08 11:17:50 +01:00
Ivan Kuchin 7d2f684a2e mention possibility of port overriding instead of merging in compose file 2024-09-30 15:38:20 +02:00
as-op c6c2fb0888 remove manual redirect pages (will be handled by site builder); sort dev setup docs; remove repeated content 2024-08-29 11:34:01 +02:00