| File | Purpose |
|---|---|
/etc/compose/docker-compose.yml |
Compose file describing what to deploy |
/etc/systemd/system/docker-compose.service |
Service unit to start and manage docker compose |
/etc/systemd/system/docker-compose-reload.service |
Executing unit to trigger reload on docker-compose.service |
/etc/systemd/system/docker-compose-reload.timer |
Timer unit to plan the reloads |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Sphinx configuration file sample | |
| # | |
| # WARNING! While this sample file mentions all available options, | |
| # it contains (very) short helper descriptions only. Please refer to | |
| # doc/sphinx.html for details. | |
| # | |
| ############################################################################# | |
| ## data source definition |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://docs.docker.com/compose/compose-file/ | |
| version: '3.7' | |
| services: | |
| app_name: | |
| build: . | |
| depends_on: | |
| - postgres | |
| environment: | |
| DATABASE_URL: ecto://app_name:app_name@postgres/app_name | |
| HOSTNAME: localhost |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HOST=localhost | |
| DATABASE_URL=ecto://nevermind:nevermind@olivetree-db/olivetree_prod?pool_size=15 | |
| PORT=5000 | |
| POSTGRES_USER=nevermind | |
| POSTGRES_PASSWORD=nevermind | |
| POSTGRES_DB=olivetree_prod | |
| POSTGRES_HOST=postgres | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defmodule Olivetree.ReleaseTasks do | |
| @start_apps [ | |
| :crypto, | |
| :ssl, | |
| :postgrex, | |
| :ecto | |
| ] | |
| def olivetree, do: Application.get_application(__MODULE__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // setup sharing button and UIActivityViewController | |
| // once the download finishes | |
| downloadingViewModel.fileDownloadCompleteEvent.asObservable() | |
| .observeOn(MainScheduler.instance) | |
| .subscribe({ download in | |
| self.fullDownloadButton.rx.tap | |
| .bind { | |
| // copy file to temp dir to rename it | |
| if let localDownload = self.downloadingViewModel.fileDownload.value { | |
| let activityViewController = UIActivityViewController(activityItems: [UIImage(named: "FWBCLogo")!, "Shared via the Faithful Word App: https://faithfulwordapp.com/", localDownload.localUrl], applicationActivities: nil) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $info: darken(#328cc1, 20%); | |
| $primary: #083c5d; | |
| $primary-light: #328cc1; | |
| $navbar_color: #083c5d; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defmodule Olivetree.ReleaseTasks do | |
| @start_apps [ | |
| :crypto, | |
| :ssl, | |
| :postgrex, | |
| :ecto | |
| ] | |
| def olivetree, do: Application.get_application(__MODULE__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| # | |
| # Diffusion youtube avec ffmpeg | |
| # Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
| VBR="2500k" # Bitrate de la vidéo en sortie | |
| FPS="30" # FPS de la vidéo en sortie | |
| QUAL="medium" # Preset de qualité FFMPEG | |
| YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # encoding=utf8 | |
| from __future__ import print_function | |
| import json | |
| import time | |
| import datetime | |
| import argparse | |
| import sys | |
| reload(sys) |