Developing using Reahl in Docker

Reahl provides a Docker image with Reahl itself pre-installed as well as the necessary tools ready to go.

Put the following docker-compose.yaml file in your development directory:

version: "3.9"
services:

  # BUILDKIT_PROGRESS=plain COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose build reahl
  
  reahl:
    container_name: reahl
    restart: always
    init: true
    image: iwanvosloo/reahl-dev:5.2
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "8000:8000"
      - "8383:8383"
    volumes:
      - .:/home/developer/reahl
      - type: bind
        source: ~/.ssh/authorized_keys_docker
        target: /home/developer/.ssh/authorized_keys2

Then do:

docker-compose up

For detailed instructions on how to use this container, see: Development environment setup.

Previous topic

Install Reahl