- 3.0 Dockerfile (Security Support until March 2024) -
- 3.1 Dockerfile (Security Support until March 2025) -
We stop updating and publishing EOL Ruby images usually with the Lagoon release that comes after the officially communicated EOL date: https://www.ruby-lang.org/en/downloads/releases/. Previous versions will remain available.
The default exposed port of ruby containers is port
Lagoon has no "pre-defined" type for Ruby services, they should be configured with the
lagoon.type: generic and a port set with
```yaml title="docker-compose.yml snippet" ruby: build: # this configures a build from a Dockerfile in the root folder context: . dockerfile: Dockerfile labels: # tells Lagoon this is a generic service, configured to expose port 3000 lagoon.type: generic lagoon.port: 3000 ports: # local development only # this exposes the port 3000 with a random local port - find it with docker-compose port ruby 3000 - "3000" ```
Environment variables are meant to contain common information for the PHP container.
||3000||tells the local development environment on which port we are running|