Replace the hard-coded mail.inbuxa.com with generic placeholders: the config default and .env.example use mail.example.com, the README stops naming the QA host, and docker-compose now requires STALWART_URL to be set rather than defaulting to somebody's real server. Nothing deployed depends on the old default - the running container passes STALWART_URL explicitly.
18 lines
428 B
YAML
18 lines
428 B
YAML
services:
|
|
ihasmail:
|
|
build: .
|
|
image: ihasmail:2
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
STALWART_URL: ${STALWART_URL:?set STALWART_URL in .env}
|
|
APP_SECRET: ${APP_SECRET:?set APP_SECRET in .env (openssl rand -base64 48)}
|
|
APP_NAME: ${APP_NAME:-ihasmail}
|
|
TRUST_PROXY: "1"
|
|
IMAGE_PROXY: "1"
|
|
volumes:
|
|
- ihasmail-data:/data
|
|
volumes:
|
|
ihasmail-data:
|