Skip to content

03. Running with Docker

Thierry Feuzeu edited this page Aug 20, 2026 · 2 revisions

Docker images are provided to run the ready-to-use Jaxon applications.

Each image is tagged with its framework name, and optionally the application version number.
For example lagdo/jaxon-dbadmin:slim, lagdo/jaxon-dbadmin:0.11-slim and lagdo/jaxon-dbadmin:0.11.0-slim. The same exists for laravel and symfony.

Running an image requires to provide the Jaxon DbAdmin application config files in the config/dbadmin subdir, the .env and .env.dbadmin file, and optionally any other config file used by the framework.

The following is an example CLI command to run the Symfony application.

docker run --rm -p 8080:8080 \
    -v ./.env:/var/www/.env:ro \
    -v ./.env.dbadmin:/var/www/.env.dbadmin:ro \
    -v ./config/dbadmin:/var/www/config/dbadmin:ro \
    lagdo/jaxon-dbadmin:symfony

This example runs the Laravel application with Docker Compose.

dbadmin:
    container_name: dbadmin
    image: lagdo/jaxon-dbadmin:laravel
    volumes:
      - ./.env:/var/www/.env:ro
      - ./.env.dbadmin:/var/www/.env.dbadmin:ro
      - ./config/dbadmin:/var/www/config/dbadmin:ro
    ports:
      - 8080:8080

Additional config files can be provided, for example to customize the user authentication.

Clone this wiki locally