h5ai on Docker¶
Created: 2024-02-16
Deploy it via docker compose saves a lot of trouble. It's really hard to install PHP.
version: '3.3'
services:
h5ai:
ports:
- '127.0.0.1:8080:80'
restart: unless-stopped
volumes:
- '<ABSOLUTE_PATH_YOU_ARE_EXPOSING>:/h5ai'
- './config:/config'
environment:
- TZ=Asia/Singapore
- HTPASSWD=true
- HTPASSWD_USER=user
- HTPASSWD_PW=pass
image: awesometic/h5ai
Then hide it behind your existing reverse proxy.