Replace 'docker-compose' with 'docker compose'

Updated docker-compose commands to use 'docker compose' syntax. Which is how its used nowadays. docker-compose doesn't provide /usr/bin/docker-compose anymore, it's all plugins now.
This commit is contained in:
Lubos Kocman 2026-03-03 14:48:10 +01:00 committed by GitHub
parent 44db914089
commit ade8365d2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -91,15 +91,15 @@ sed "s/13042/`id -u`/" docker-compose.override.yml.example > docker-compose.over
1. Build the development environment (only once) 1. Build the development environment (only once)
```bash ```bash
docker-compose build --no-cache --pull docker compose build --no-cache --pull
``` ```
1. Set up the development environment (only once) 1. Set up the development environment (only once)
```bash ```bash
docker-compose run --rm osem bundle exec rake db:bootstrap docker compose run --rm osem bundle exec rake db:bootstrap
``` ```
1. Start the development environment: 1. Start the development environment:
```bash ```bash
docker-compose up --build docker compose up --build
``` ```
1. Check out your OSEM rails app. You can access the app at http://localhost:3000. Whatever you change in your cloned repository will have effect in the development environment. Sign up, the first user will be automatically assigned the admin role. 1. Check out your OSEM rails app. You can access the app at http://localhost:3000. Whatever you change in your cloned repository will have effect in the development environment. Sign up, the first user will be automatically assigned the admin role.
@ -111,12 +111,12 @@ sed "s/13042/`id -u`/" docker-compose.override.yml.example > docker-compose.over
1. Issue any standard `rails`/`rake`/`bundler` command 1. Issue any standard `rails`/`rake`/`bundler` command
```bash ```bash
docker-compose run --rm osem bundle exec rake db:version docker compose run --rm osem bundle exec rake db:version
``` ```
1. Or explore the development environment: 1. Or explore the development environment:
```bash ```bash
docker-compose exec osem /bin/bash -l docker compose exec osem /bin/bash -l
``` ```
1. Want to know more? In our [wiki](https://github.com/openSUSE/osem/wiki) you can find more information about what is possible in our development environment, how we work with each other on github or other topics of interest for OSEM developers. 1. Want to know more? In our [wiki](https://github.com/openSUSE/osem/wiki) you can find more information about what is possible in our development environment, how we work with each other on github or other topics of interest for OSEM developers.