6ddd151ed1
Rebuild on the official PHP image instead of Sury's repo on bare Debian. Fixes surfaced along the way: missing pkg-config/libonig-dev broke the zip/mbstring extension builds, purging libzip-dev also auto-removed the libzip5 runtime lib the compiled zip.so needs, phpredis needed bumping to 6.3.0 for PHP 8.5 header compatibility, and the php-fpm.conf listen directive sed didn't match the commented-out default line so FPM never created its unix socket, causing 503s from Apache's proxy_fcgi handler. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
40 lines
782 B
YAML
40 lines
782 B
YAML
# Sample Docker Compose
|
|
services:
|
|
corxn:
|
|
image: 4lights/corxn:8.5.8
|
|
ports:
|
|
- "8000:80"
|
|
volumes:
|
|
- ./test:/data # looks for /data/public
|
|
- ./php.ini:/php/php.ini:ro # Optional override php.ini
|
|
- ./data/uploads:/data/public/uploads
|
|
restart: unless-stopped
|
|
networks:
|
|
- proxy
|
|
- internal
|
|
|
|
redis:
|
|
image: redis:7
|
|
networks:
|
|
- internal
|
|
restart: unless-stopped
|
|
|
|
mariadb:
|
|
image: mariadb:11
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=rootpassword
|
|
- MYSQL_DATABASE=dbname
|
|
- MYSQL_USER=user
|
|
- MYSQL_PASSWORD=password
|
|
volumes:
|
|
- ./data/db:/var/lib/mysql
|
|
networks:
|
|
- internal
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
internal:
|
|
driver: bridge
|