mirror of
https://github.com/danielbrendel/hortusfox-web.git
synced 2026-02-20 13:28:56 -06:00
48 lines
1.0 KiB
YAML
48 lines
1.0 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
app:
|
|
image: ghcr.io/danielbrendel/hortusfox-web:latest
|
|
ports:
|
|
- "8080:80"
|
|
volumes:
|
|
- app_images:/var/www/html/public/img
|
|
- app_logs:/var/www/html/app/logs
|
|
environment:
|
|
APP_DEBUG: "true"
|
|
APP_LANG: "en"
|
|
APP_WORKSPACE: "My plant home"
|
|
DB_HOST: db
|
|
DB_PORT: 3306
|
|
DB_DATABASE: hortusfox
|
|
DB_USERNAME: root
|
|
DB_CHARSET: "utf8mb4"
|
|
DB_USER: root
|
|
DB_PASSWORD: my-secret-pw
|
|
SMTP_FROMNAME: "Test"
|
|
SMTP_FROMADDRESS: "test@domain.tld"
|
|
SMTP_HOST: ""
|
|
SMTP_PORT: 587
|
|
SMTP_USERNAME: ""
|
|
SMTP_PASSWORD: ""
|
|
depends_on:
|
|
- db
|
|
|
|
db:
|
|
image: mariadb
|
|
restart: always
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: my-secret-pw
|
|
MYSQL_DATABASE: hortusfox
|
|
MYSQL_USER: user
|
|
MYSQL_PASSWORD: password
|
|
ports:
|
|
- "3306:3306"
|
|
volumes:
|
|
- db_data:/var/lib/mysql
|
|
|
|
volumes:
|
|
db_data:
|
|
app_images:
|
|
app_logs:
|