v1
This commit is contained in:
23
src/.htconfig.php
Normal file
23
src/.htconfig.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
define('NAMESPACE_SEPARATOR', '\\');
|
||||
define('Z_ROOT', dirname(__FILE__));
|
||||
define('Z_PATH', dirname(__FILE__));
|
||||
define('Z_CONFIG', dirname(__FILE__));
|
||||
define('Z_DATA', 'store');
|
||||
|
||||
// Base de données
|
||||
$db_host = 'db';
|
||||
$db_port = 3306;
|
||||
$db_user = 'hubzilla';
|
||||
$db_pass = 'hubzilla_pass';
|
||||
$db_data = 'hubzilla';
|
||||
|
||||
$default_timezone = 'Europe/Paris';
|
||||
|
||||
$hostname = '{{DOMAIN}}';
|
||||
$site_location = 'https://{{DOMAIN}}/';
|
||||
$admin_email = '{{ADMIN_EMAIL}}';
|
||||
$site_id = '{{LOCATION_HASH}}';
|
||||
|
||||
define('MYSQL_AVAILABLE', true);
|
||||
12
src/container_apache.conf
Normal file
12
src/container_apache.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName yourdomain.com
|
||||
DocumentRoot /var/www/html
|
||||
|
||||
<Directory /var/www/html>
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
</VirtualHost>
|
||||
12
src/hubzilla.conf
Normal file
12
src/hubzilla.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName yourdomain.com
|
||||
DocumentRoot /var/www/html
|
||||
|
||||
<Directory /var/www/html>
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
</VirtualHost>
|
||||
13
src/msmtprc
Normal file
13
src/msmtprc
Normal file
@@ -0,0 +1,13 @@
|
||||
# msmtprc global config
|
||||
defaults
|
||||
auth on
|
||||
tls on
|
||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||
logfile /var/log/msmtp.log
|
||||
|
||||
account default
|
||||
host {{SMTP_SERVER}}
|
||||
port {{SMTP_PORT}}
|
||||
from {{SMTP_EMAIL}}
|
||||
user {{SMTP_USER}}
|
||||
password {{SMTP_PASS}}
|
||||
7
src/start.sh
Executable file
7
src/start.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Démarrage du service Apache
|
||||
service apache2 start
|
||||
|
||||
# Attente indéfinie pour maintenir le conteneur en cours d'exécution
|
||||
tail -f /dev/null
|
||||
Reference in New Issue
Block a user