HUB
Sign inSign up
docker-uxbox-backend logo

monogramm/docker-uxbox-backend

By monogramm

•Updated over 6 years ago

Docker image for UXBOX backend

Image
0

3.1K

monogramm/docker-uxbox-backend repository overview

License: GPL v3 Build Status Docker Automated buid Docker Pulls

⁠UXBOX Backend Docker image

Docker image for UXBOX Backend.

🚧 This image is still in development!

⁠What is UXBOX ?

UXBOX is The Open-Source prototyping tool.

⁠Supported tags

https://hub.docker.com/r/monogramm/docker-uxbox-backend/⁠

  • Branch master
    • 11-slim latest
    • 11
    • 14-slim
    • 14
    • 14-alpine
    • 15-slim
    • 15
    • 15-alpine
  • Branch develop
    • develop

⁠How to run this image ?

⁠Persistent data

The UXBOX installation and all data are stored in the database (file uploads, etc). The docker daemon will store that data within the docker directory /var/lib/docker/volumes/.... That means your data is saved even if the container crashes, is stopped or deleted.

To make your data persistent to upgrading and get access for backups is using named docker volume or mount a host folder. To achieve this you need one volume for your database container.

Database:

  • /var/lib/mysql MySQL / MariaDB Data
  • /var/lib/postgresql/data PostgreSQL Data
$ docker run -d \
    -v db:/var/lib/postgresql/data \
    postgresql
⁠Auto configuration via environment variables

The following environment variables are also honored for configuring your UXBOX instance:

Available at runtime:

  • -e LANG=... (defaults to en_US.UTF-8)
  • -e LC_ALL=... (defaults to C.UTF-8)
  • -e UXBOX_HTTP_SERVER_PORT=... (defaults to 6060)
  • -e UXBOX_HTTP_SERVER_DEBUG=... (defaults to false)
  • -e UXBOX_HTTP_SERVER_CORS=... (defaults to http://localhost:3449)
  • -e UXBOX_DATABASE_USERNAME="..." (defaults to uxbox)
  • -e UXBOX_DATABASE_PASSWORD="..." (defaults to youshouldoverwritethiswithsomethingelse)
  • -e UXBOX_DATABASE_URI="..." (defaults to , will be computed based on other DATABASE parameters if empty)
  • -e UXBOX_DATABASE_NAME="..." (defaults to uxbox)
  • -e UXBOX_DATABASE_SERVER="..." (defaults to 127.0.0.1)
  • -e UXBOX_DATABASE_PORT=... (defaults to 5432)
  • -e UXBOX_MEDIA_DIRECTORY=... (defaults to resources/public/media)
  • -e UXBOX_MEDIA_URI=... (defaults to http://localhost:6060/media/)
  • -e UXBOX_ASSETS_DIRECTORY=... (defaults to resources/public/static)
  • -e UXBOX_ASSETS_URI=... (defaults to http://localhost:6060/static/)
  • -e UXBOX_EMAIL_REPLY_TO="..." (defaults to [email protected])
  • -e UXBOX_EMAIL_FROM="..." (defaults to [email protected])
  • -e UXBOX_SMTP_HOST="..." (defaults to 127.0.0.1)
  • -e UXBOX_SMTP_PORT=... (defaults to 25)
  • -e UXBOX_SMTP_USER="..." (defaults to uxbox)
  • -e UXBOX_SMTP_PASSWORD="..." (defaults to youshouldoverwritethiswithsomethingelse)
  • -e UXBOX_SMTP_SSL=... (defaults to false)
  • -e UXBOX_SMTP_TLS=... (defaults to false)
  • -e UXBOX_SMTP_ENABLED=... (defaults to false)
  • -e UXBOX_REGISTRATION_ENABLED=... (defaults to true)
  • -e UXBOX_SECRET="..." (defaults to 5qjiAn-QUpawUNqGP10UZKklSqbLKcdGY3sJpq0UUACpVXGg2HOFJCBejDWVHskhRyp7iHb4rjOLXX2ZjF-5cw)

Important note: make sure to use quotation marks for string variables or the backend might try to interpret the values as symbols and have weird issues.

⁠Questions / Issues

If you got any questions or problems using the image, please visit our Github Repository⁠ and write an issue.

Tag summary

Content type

Image

Digest

Size

169.6 MB

Last updated

almost 7 years ago

docker pull monogramm/docker-uxbox-backend