You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ttrss-docker-compose/docker-compose.yml

71 lines
1.2 KiB
YAML

5 years ago
version: '3'
services:
db:
image: mariadb:10
5 years ago
restart: unless-stopped
environment:
- MYSQL_USER=${TTRSS_DB_USER}
- MYSQL_PASSWORD=${TTRSS_DB_PASS}
- MYSQL_ROOT_PASSWORD=${TTRSS_DB_PASS}
- MYSQL_DATABASE=${TTRSS_DB_NAME}
5 years ago
volumes:
- db:/var/lib/postgresql/data
app:
build:
5 years ago
context:
./app
5 years ago
restart: unless-stopped
env_file:
- .env
5 years ago
volumes:
- app:/var/www/html
- ./config.d:/opt/tt-rss/config.d:ro
5 years ago
depends_on:
- db
backups:
build:
context:
./app
restart: unless-stopped
env_file:
- .env
volumes:
- backups:/backups
- app:/var/www/html
depends_on:
- db
command: /opt/tt-rss/dcron.sh -f
4 years ago
updater:
build:
context:
./app
restart: unless-stopped
env_file:
- .env
volumes:
- app:/var/www/html
- ./config.d:/opt/tt-rss/config.d:ro
depends_on:
- app
command: /opt/tt-rss/updater.sh
web-nginx:
build: ./web-nginx
restart: unless-stopped
ports:
- ${HTTP_PORT}:80
volumes:
- app:/var/www/html:ro
depends_on:
- app
5 years ago
volumes:
db:
app:
certs:
backups: