Created
November 13, 2021 16:48
-
-
Save kazeno/770e836d914000bbc630406bac89bf03 to your computer and use it in GitHub Desktop.
Docker Compose files for TTRSS on Azure Pipelines + App Service for Containers
This file contains 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
#run file | |
version: '3.2' | |
services: | |
app: | |
image: YOUR_APP_IMAGE_URL_HERE | |
restart: unless-stopped | |
environment: | |
TTRSS_DB_HOST | |
TTRSS_DB_NAME | |
TTRSS_DB_USER | |
TTRSS_DB_PASS | |
TTRSS_SELF_URL_PATH | |
volumes: | |
- app:/var/www/html | |
updater: | |
image: YOUR_APP_IMAGE_URL_HERE | |
restart: unless-stopped | |
environment: | |
TTRSS_DB_HOST | |
TTRSS_DB_NAME | |
TTRSS_DB_USER | |
TTRSS_DB_PASS | |
TTRSS_SELF_URL_PATH | |
volumes: | |
- app:/var/www/html | |
depends_on: | |
- app | |
command: ["/opt/tt-rss/updater.sh"] | |
web-nginx: | |
image: YOUR_NGINX_IMAGE_URL_HERE | |
restart: unless-stopped | |
ports: | |
- 80:80 | |
volumes: | |
- app:/var/www/html | |
depends_on: | |
- app | |
volumes: | |
app: |
This file contains 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
#build file | |
version: '3' | |
services: | |
app: | |
build: | |
context: | |
./app | |
restart: unless-stopped | |
web-nginx: | |
build: ./web-nginx | |
restart: unless-stopped | |
depends_on: | |
- app | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment