speedtest-tracker: Docker with PostgreSQL/SQLite will not start

Describe the bug I try strat the speedtest-tracker with external PostgreSQL. During the start process the tables were created. But the container is exiting

docker run -d --name speedtest-tracker \
    -p 8765:80 \
    -p 8443:443 \
    -e PUID=1000 \
    -e PGID=1000 \
    -e "DB_CONNECTION=pgsql" \
    -e "DB_HOST=192.168.178.30" \
    -e "DB_PORT=5432" \
    -e "DB_DATABASE=speedtest_tracker" \
    -e "DB_USERNAME=speedtest_tracker" \
    -e "DB_PASSWORD=speedtest_tracker" \
    -v /data-files/data/docker/speedtest-tracker:/config \
    ghcr.io/alexjustesen/speedtest-tracker:latest \
    restart: unless-stopped

This is the output

--------------------------------------------------------------------
 ____                             ____  _     _        _   _
/ ___|  ___ _ ____   _____ _ __  / ___|(_) __| | ___  | | | |_ __
\___ \ / _ \  __\ \ / / _ \  __| \___ \| |/ _` |/ _ \ | | | |  _ \
 ___) |  __/ |   \ V /  __/ |     ___) | | (_| |  __/ | |_| | |_) |
|____/ \___|_|    \_/ \___|_|    |____/|_|\__,_|\___|  \___/| .__/
                                                            |_|

Brought to you by serversideup.net
--------------------------------------------------------------------

To support Server Side Up projects visit:
https://serversideup.net/sponsor
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------

🔒 SSL_MODE has been set to MIXED, setting the web server to work in HTTP + HTTPS...
🏃‍♂️ Checking for Laravel automations...
🔐 Linking the storage...
🏃‍♂️ An SSL key was not detected, so I'll generate a self-signed SSL certificate pair for you...
..+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...............+.....+......+....+..+.......+..+...+.......+.....+.+.....+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
....+....+..+..........+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+.....+.+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.........+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----

   INFO  The [public/storage] link has been connected to [storage/app/public].

🐇  Configuring Speedtest Tracker...
✅  Environment file exists
🔗  Creating symlinks to config and log files
✅  App key exists
🔒  Fixing app path file permissions
💰  Building the cache...
[25-Feb-2023 16:58:20] NOTICE: fpm is running, pid 103
[25-Feb-2023 16:58:20] NOTICE: ready to handle connections
[25-Feb-2023 16:58:20] NOTICE: systemd monitor interval set to 10000ms
🚛  Migrating the database...
✅  All set, starting Speedtest Tracker container...
⏰  Starting the cron service...
💪  Starting the queue worker...
/run/s6/basedir/scripts/rc.init: 67: restart:: not found
[25-Feb-2023 16:58:21] NOTICE: Terminating ...
[25-Feb-2023 16:58:21] NOTICE: exiting, bye-bye!

I followed this https://docs.speedtest-tracker.dev/getting-started/installation

Environment (please complete the following information):

  • OS: Ubuntu 20.04.5
  • Architecture: amd64

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 34 (11 by maintainers)

Most upvoted comments