Compare commits

..

No commits in common. "main" and "2c11aa4a351ed4a0c6acdf01a290e9f64a02221b" have entirely different histories.

3 changed files with 6 additions and 11 deletions

View File

@ -1,4 +1,4 @@
FROM docker.io/alpine:3.16
FROM alpine:3.16
EXPOSE 9000/tcp
ENV SCRIPT_ROOT=/opt/tt-rss

View File

@ -1,16 +1,13 @@
---
version: '3'
services:
db:
image: docker.io/postgres:12-alpine
image: postgres:12-alpine
restart: unless-stopped
environment:
- POSTGRES_USER=${TTRSS_DB_USER}
- POSTGRES_PASSWORD=${TTRSS_DB_PASS}
- POSTGRES_DB=${TTRSS_DB_NAME}
env_file:
- ${ENV_FILE:-.env}
volumes:
- db:/var/lib/postgresql/data
@ -20,7 +17,7 @@ services:
./app
restart: unless-stopped
env_file:
- ${ENV_FILE:-.env}
- .env
volumes:
- app:/var/www/html
- ./config.d:/opt/tt-rss/config.d:ro
@ -33,7 +30,7 @@ services:
./app
restart: unless-stopped
env_file:
- ${ENV_FILE:-.env}
- .env
volumes:
- backups:/backups
- app:/var/www/html
@ -47,7 +44,7 @@ services:
./app
restart: unless-stopped
env_file:
- ${ENV_FILE:-.env}
- .env
volumes:
- app:/var/www/html
- ./config.d:/opt/tt-rss/config.d:ro
@ -60,8 +57,6 @@ services:
restart: unless-stopped
ports:
- ${HTTP_PORT}:80
env_file:
- ${ENV_FILE:-.env}
volumes:
- app:/var/www/html:ro
depends_on:

View File

@ -1,4 +1,4 @@
FROM docker.io/nginx:alpine
FROM nginx:alpine
HEALTHCHECK CMD curl --fail http://localhost/tt-rss/index.php || exit 1