Skip to content

Instantly share code, notes, and snippets.

@kazeno
Created November 13, 2021 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kazeno/770e836d914000bbc630406bac89bf03 to your computer and use it in GitHub Desktop.
Save kazeno/770e836d914000bbc630406bac89bf03 to your computer and use it in GitHub Desktop.
Docker Compose files for TTRSS on Azure Pipelines + App Service for Containers
#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:
#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