Téléverser les fichiers vers "hortus-fox"
This commit is contained in:
11
hortus-fox/.env.example
Normal file
11
hortus-fox/.env.example
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
HOST_IP=10.0.0.5
|
||||||
|
|
||||||
|
APP_ADMIN_EMAIL=gil.soulier@gmail.com
|
||||||
|
APP_ADMIN_PASSWORD=misstibet
|
||||||
|
APP_TIMEZONE=Europe/Paris
|
||||||
|
|
||||||
|
DB_DATABASE=hortusfox
|
||||||
|
DB_USERNAME=user
|
||||||
|
DB_PASSWORD=password
|
||||||
|
|
||||||
|
MYSQL_ROOT_PASSWORD=misstibet
|
||||||
8
hortus-fox/README.md
Normal file
8
hortus-fox/README.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Hortus-Fox — Template Arcane
|
||||||
|
|
||||||
|
## Description
|
||||||
|
Hortus-Fox est une application web permettant de gérer un potager.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
cp .env.example .env
|
||||||
|
docker compose up -d
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: ghcr.io/danielbrendel/hortusfox-web:latest
|
||||||
|
container_name: hortusfox_app
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "${HOST_IP}:8081:80"
|
||||||
|
volumes:
|
||||||
|
- ./img:/var/www/html/public/img
|
||||||
|
- ./logs:/var/www/html/app/logs
|
||||||
|
- ./backup:/var/www/html/public/backup
|
||||||
|
- ./themes:/var/www/html/public/themes
|
||||||
|
- ./migrations:/var/www/html/app/migrations
|
||||||
|
environment:
|
||||||
|
APP_ADMIN_EMAIL: "${APP_ADMIN_EMAIL}"
|
||||||
|
APP_ADMIN_PASSWORD: "${APP_ADMIN_PASSWORD}"
|
||||||
|
APP_TIMEZONE: "${APP_TIMEZONE}"
|
||||||
|
DB_HOST: db
|
||||||
|
DB_PORT: 3306
|
||||||
|
DB_DATABASE: "${DB_DATABASE}"
|
||||||
|
DB_USERNAME: "${DB_USERNAME}"
|
||||||
|
DB_PASSWORD: "${DB_PASSWORD}"
|
||||||
|
DB_CHARSET: "utf8mb4"
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: mariadb:11.4
|
||||||
|
container_name: hortusfox_db
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: "${MYSQL_ROOT_PASSWORD}"
|
||||||
|
MYSQL_DATABASE: "${DB_DATABASE}"
|
||||||
|
MYSQL_USER: "${DB_USERNAME}"
|
||||||
|
MYSQL_PASSWORD: "${DB_PASSWORD}"
|
||||||
|
ports:
|
||||||
|
- "${HOST_IP}:3306:3306"
|
||||||
|
volumes:
|
||||||
|
- ./db_data:/var/lib/mysql
|
||||||
|
|||||||
Reference in New Issue
Block a user