Warning
These Docker images are under construction, use at your own risk..
This image is based on ServerSideUp's Docker PHP which is the gold standard for containerized PHP applications. These builds supports both x86-64 and arm64 architectures, 32-bit images are not and will not be supported.
# compose.yml
services:
php:
image: ghcr.io/alexjustesen/docker-speedtest-tracker:latest
ports:
- 80:8080
# - 443:8443
networks:
- speedtest
environment:
- APP_KEY=
- APP_URL=http://localhost
- DB_CONNECTION=pgsql
- DB_HOST=db
- DB_PORT=5432
- DB_DATABASE=speedtest
- DB_USERNAME=speedtest
- DB_PASSWORD=
depends_on:
- db
db:
image: 'postgres:18-alpine'
ports:
- '${FORWARD_DB_PORT:-5432}:5432'
environment:
PGPASSWORD: '${DB_PASSWORD:-secret}'
POSTGRES_DB: '${DB_DATABASE}'
POSTGRES_USER: '${DB_USERNAME}'
POSTGRES_PASSWORD: '${DB_PASSWORD:-secret}'
volumes:
- 'db:/var/lib/postgresql/data'
networks:
- speedtest
healthcheck:
test:
- CMD
- pg_isready
- '-q'
- '-d'
- '${DB_DATABASE}'
- '-U'
- '${DB_USERNAME}'
retries: 3
timeout: 5s
networks:
speedtest:
driver: bridge
volumes:
db:
driver: localClone the repository and use the build script to build the version you want to use. Use either a tagged version like v1.0.0 or latest, if you don't specify a tag it will pull the main branch.
# Build with current main branch
./build.sh
# Build latest release
./build.sh latest
# Build a specific release
./build.sh v1.2.3