mirror of
https://github.com/danielbrendel/hortusfox-web.git
synced 2026-02-21 05:48:36 -06:00
45 lines
974 B
YAML
45 lines
974 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
app:
|
|
image: danielbrendel/hortusfox-web:latest
|
|
ports:
|
|
- "8080:80"
|
|
environment:
|
|
APP_DEBUG: "true"
|
|
APP_BASEDIR: ""
|
|
APP_SESSION: "true"
|
|
APP_LANG: "en"
|
|
APP_WORKSPACE: "My home"
|
|
APP_ENABLESCROLLER: "true"
|
|
APP_OVERLAYALPHA: "null"
|
|
APP_ENABLECHAT: "false"
|
|
DB_ENABLE: "true"
|
|
DB_DRIVER: "mysql"
|
|
DB_HOST: db
|
|
DB_PORT: 3306
|
|
DB_DATABASE: hortusfox
|
|
DB_USERNAME: root
|
|
DB_CHARSET: "utf8mb4"
|
|
DB_USER: root
|
|
DB_PASSWORD: my-secret-pw
|
|
# Add other environment variables here as needed
|
|
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:
|