elestio/attendize-worker

Verified Publisher

By Elestio

Updated over 2 years ago

Attendize, verified and packaged by Elestio

Image
Integration & delivery
Message queues
Content management system
0

799

elestio/attendize-worker repository overview

elest.io

Discord Elestio examples Blog

Attendize, verified and packaged by Elestio

Attendize is an Open-source ticket selling and event management platform and is everything you need for a successful event. Attendize has a wide array of features aimed at making organising events as effortless as possible.

attendize

Deploy a fully managed Attendize on elest.io if you want automated backups, reverse proxy with SSL termination, firewall, automated OS & Software updates, and a team of Linux experts and open source enthusiasts to ensure your services are always safe, and functional.

deploy

Why use Elestio images?

  • Elestio stays in sync with updates from the original source and quickly releases new versions of this image through our automated processes.
  • Elestio images provide timely access to the most recent bug fixes and features.
  • Our team performs quality control checks to ensure the products we release meet our high standards.

Usage

Git clone

You can deploy it easily with the following command:

git clone https://github.com/elestio-examples/attendize.git

Copy the .env file from tests folder to the project directory

cp ./tests/.env ./.env

Edit the .env file with your own values.

Run the project with the following command

./scripts/preInstall.sh
docker-compose up -d
./scripts/postInstall.sh

You can access the Web UI at: http://your-domain:20403

Docker-compose

Here are some example snippets to help you get started creating a container.

version: "3.2"

services:
    web:
        user: 0:0
        image: elestio4test/attendize-web:latest
        ports:
            - "172.17.0.1:20403:443"
        volumes:
            - ./.env:/usr/share/nginx/html/.env
            - ./config/Install.php:/usr/share/nginx/html/app/Console/Commands/Install.php
            # - ./config/installed:/usr/share/nginx/html/installed
            - attendize-public:/usr/share/nginx/html/public/
        depends_on:
            - db
            - redis
            - worker
        env_file:
            - ./.env
    worker:
        user: 0:0
        image: elestio4test/attendize-worker:latest
        depends_on:
            - db
            - redis
        volumes:
            - ./.env:/usr/share/nginx/html/.env
    db:
        image: elestio/mysql:8.0
        restart: always
        env_file:
            - ./.env
        environment:
            MYSQL_ROOT_PASSWORD: "yes"
            MYSQL_HOST: ${DB_HOST}
            MYSQL_DATABASE: ${DB_DATABASE}
            MYSQL_USER: ${DB_USERNAME}
            MYSQL_PASSWORD: ${DB_PASSWORD}
        ports:
            - "172.17.0.1:41525:3306"
        volumes:
            - "./storage/mysql:/var/lib/mysql"
    redis:
        image: elestio/redis:7.0
        volumes:
            - ./storage/redis:/data
        command: --requirepass ${REDIS_PASSWORD}

    pma:
        image: elestio/phpmyadmin:latest
        restart: always
        links:
            - db:db
        ports:
            - "172.17.0.1:61927:80"
        environment:
            PMA_HOST: db
            PMA_PORT: 3306
            PMA_USER: ${DB_USERNAME}
            PMA_PASSWORD: ${ADMIN_PASSWORD}
            UPLOAD_LIMIT: 500M
            MYSQL_USERNAME: ${DB_USERNAME}
            MYSQL_ROOT_PASSWORD: ${ADMIN_PASSWORD}
        depends_on:
            - db
volumes:
    attendize-public:
        driver: local
        driver_opts:
            type: none
            device: ${PWD}/storage/public
            o: bind
Environment variables
VariableValue (example)
SOFTWARE_VERSION_TAGlatest
ADMIN_EMAIL[email protected]
ADMIN_PASSWORDyour-password
DOMAINyour.domain
ATTENDIZE_DEVtrue
ATTENDIZE_CLOUDfalse
APP_NAMEAttendize
APP_DEBUGtrue
APP_URLhttps://your.domain
LOG_CHANNELstack
DB_CONNECTIONmysql
DB_HOSTdb
DB_PORT3306
DB_DATABASEattendize
DB_USERNAMEattendize
DB_PASSWORDyour-password
BROADCAST_DRIVERlog
CACHE_DRIVERfile
QUEUE_CONNECTIONsync
SESSION_DRIVERfile
SESSION_LIFETIME120
REDIS_HOSTredis
REDIS_PASSWORDyour-password
REDIS_PORT6379
MAIL_DRIVERsmtp
MAIL_HOST172.17.0.1
MAIL_PORT25
MAIL_USERNAMEnull
MAIL_PASSWORDnull
MAIL_ENCRYPTIONnull
DEFAULT_DATEPICKER_SEPERATOR-
DEFAULT_DATEPICKER_FORMAT'yyyy-MM-dd HH:mm'
DEFAULT_DATETIME_FORMAT'Y-m-d H:i'
MAIL_FROM_ADDRESS[email protected]
MAIL_FROM_NAMEAttendize
WKHTML2PDF_BIN_FILEwkhtmltopdf-amd64
CAPTCHA_IS_ONfalse
LOGerrorlog
APP_KEYmust be empty, will be filled automaticaly

Maintenance

Logging

The Elestio Attendize Docker image sends the container logs to stdout. To view the logs, you can use the following command:

docker-compose logs -f

To stop the stack you can use the following command:

docker-compose down

Backup and Restore with Docker Compose

To make backup and restore operations easier, we are using folder volume mounts. You can simply stop your stack with docker-compose down, then backup all the files and subfolders in the folder near the docker-compose.yml file.

Creating a ZIP Archive For example, if you want to create a ZIP archive, navigate to the folder where you have your docker-compose.yml file and use this command:

zip -r myarchive.zip .

Restoring from ZIP Archive To restore from a ZIP archive, unzip the archive into the original folder using the following command:

unzip myarchive.zip -d /path/to/original/folder

Starting Your Stack Once your backup is complete, you can start your stack again with the following command:

docker-compose up -d

That's it! With these simple steps, you can easily backup and restore your data volumes using Docker Compose.

Tag summary

Content type

Image

Digest

sha256:63edf7221

Size

374.7 MB

Last updated

over 2 years ago

Requires Docker Desktop 4.37.1 or later.

This week's pulls

Pulls:

15

Last week