You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Créer les fichiers environment suivants en adaptant les champs pour votre configuration
env_fedow
##########################
# TiBillet / Fedow
# All the env are needed
##########################
SECRET_KEY='a4244aa43ddd6e3ef9e64bb80f4ee952f68232aa008d111111'
FERNET_KEY='JrGVI3GM-NfNMqJmQwRZhRzcrseV9KTFa0bJDJQlFaM='
DOMAIN='fedow2.tibillet.ptrs.top' # ex : fedow.tibillet.localhost
DOMAIN_ALT='fedow.tibillet.ptrs.top' # ex : fedow.tibillet.localhost
# Prod or test key are needed
STRIPE_KEY='sk_test_***'
STRIPE_KEY_TEST='sk_test_***'
STRIPE_TEST=1 # set to 1 if only test key provided
### OPTIONAL : FOR DEV & TEST ###
# Don't push on production with 1 !
STRIPE_ENDPOINT_SECRET_TEST=''
DEBUG=0
TEST=0
env_laboutik
##########################
# TiBillet / LaBoutik
# All the env are needed
##########################
DJANGO_SECRET='a4244aa43ddd6e3ef9e64bb80f4ee952f68232aa009d111111'
FERNET_KEY='JrGVI3GM-NfNMqJmQwRZhRzcrseV9KTFa0bJDJQlFaU='
POSTGRES_DB='postgres'
POSTGRES_USER=postgres
POSTGRES_PASSWORD=truepassword
DOMAIN='laboutik.tibillet.ptrs.top' # The domain of this instance ex : 'laboutik.tibillet.localhost'
FEDOW_URL='https://fedow.tibillet.ptrs.top/' # ex : https://fedow.tibillet.localhost/
LESPASS_TENANT_URL='https://lespass.tibillet.ptrs.top/' # ex : https://lespass.tibillet.localhost/
# The name of your cashless asset ex : TestCoin, FestivalCoin, etc ....
MAIN_ASSET_NAME='TestCoin'
# admin email. Required for the first user.
ADMIN_EMAIL='root@tibillet.ptrs.top' # needed for the first admin account
TIME_ZONE='Europe/Paris'
LANGUAGE_CODE='fr'
### OPTIONAL ENV ###
# For transactionnal email
# Usefull new admin and terminal verification
# Required for production
EMAIL_HOST="172.19.0.1"
EMAIL_PORT="25"
EMAIL_HOST_USER=""
EMAIL_HOST_PASSWORD=""
# BACKUP CRON TASK
# can be empty if you don't want to backup
# ex : borg init --encryption=repokey-blake2 .
# save key : borg key export . ./key && cat key && rm key
BORG_REPO=''
BORG_PASSPHRASE=''
# DEV AND TEST ONLY
# admin auto login, flush database, demonstration data, etc ...
# Don't push to production with debug, test or demo !
# Sentry Debug for django backend
SENTRY_DNS=""
# Sentry Debug for js frontend
SENTRY_FRONT_DNS=""
SENTRY_FRONT_ASSET=""
###!!!!!! Don't push to production with debug, test or demo !!!!!!###
DEBUG=0
TEST=0
DEMO=0
DEMO_TAGID_CM='EE144CE8'
DEMO_TAGID_CLIENT1='41726643'
DEMO_TAGID_CLIENT2='93BD3684'
env_lespass
##########################
# TiBillet / Lespass
# All the env are needed
##########################
# Secret
DJANGO_SECRET='a4244aa43ddd6e3ef9e64bb80f4ee952f68232aa008e111111'
FERNET_KEY='JrGVI3GM-NfNMqJmQwRZhRzcrseV9KTFa0bJDJQlFaS='
STRIPE_KEY='sk_test_***'
STRIPE_KEY_TEST='sk_test_***'
STRIPE_TEST=1
# Database
POSTGRES_DB='postgres'
POSTGRES_USER=postgres
POSTGRES_PASSWORD=truepassword
TIME_ZONE='Europe/Paris'
PUBLIC='TiBillet Coop.'
DOMAIN='tibillet.ptrs.top'
SUB='lespass'
META='agenda'
ADDITIONAL_DOMAINS=''
ADMIN_EMAIL='root@tibillet.ptrs.top'
FEDOW_DOMAIN='fedow.tibillet.ptrs.top'
#### OPTIONAL ENV
# For transactionnal email.
# Required on prod or if you want to test... emails !
# Not required on dev' env.
EMAIL_HOST='172.19.0.1'
EMAIL_PORT='25'
EMAIL_HOST_USER=''
EMAIL_HOST_PASSWORD=''
# Usefull for dev/test
# Auto login for admin, no https cert' verification, demonstration data, auto database flush, etc ...
# don't set 1 to production !
TEST=0
DEBUG=0
# If you have already linked an account on stripe
STRIPE_CONNECT_ACCOUNT=''
Créer les fichiers suivants dans le dossier "nginx", en adaptant les champs server_name à votre nom de domaine
Voici un example de configuration complète pour faire tourner Tibillet en local tout en minimisant le nombre de conteneur.
La configuration des certificats SSL est faite avec le résolveur Gandi, à adapter selon les besoins.
Préparatifs
On clone les dépôts Fedow, Lespass, LaBoutik dans le dossier courant.
Les conteneurs Nginx sont centralisés, et on monte le dossier "www" de chaque projet dans le /www du conteneur nginx.
Les dossier "letsencrypt", "backup", "logs", "nginx", "lespass_database" et "laboutik_database" doivent être créés dans le dossier courant.
Créer les fichiers YAML suivants dans le dossier courant.
docker-compose.yml
fedow-compose.yml
laboutik-compose.yml
lespass-compose.yml
memcached-compose.yml
nginx-compose.yml
postgres-compose.yml
redis-compose.yml
Créer les fichiers environment suivants en adaptant les champs pour votre configuration
env_fedow
env_laboutik
env_lespass
Créer les fichiers suivants dans le dossier "nginx", en adaptant les champs
server_name
à votre nom de domainenginx/fedow.conf
nginx/laboutik.conf
nginx/lespass.conf
Lancer "docker compose up -d" en mode détaché, le lancer sans le "-d" pour débugger votre conf.
The text was updated successfully, but these errors were encountered: