Compare commits
No commits in common. "main" and "2c11aa4a351ed4a0c6acdf01a290e9f64a02221b" have entirely different histories.
main
...
2c11aa4a35
|
@ -1,4 +1,4 @@
|
||||||
FROM docker.io/alpine:3.16
|
FROM alpine:3.16
|
||||||
EXPOSE 9000/tcp
|
EXPOSE 9000/tcp
|
||||||
|
|
||||||
ENV SCRIPT_ROOT=/opt/tt-rss
|
ENV SCRIPT_ROOT=/opt/tt-rss
|
||||||
|
|
|
@ -1,16 +1,13 @@
|
||||||
---
|
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: docker.io/postgres:12-alpine
|
image: postgres:12-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${TTRSS_DB_USER}
|
- POSTGRES_USER=${TTRSS_DB_USER}
|
||||||
- POSTGRES_PASSWORD=${TTRSS_DB_PASS}
|
- POSTGRES_PASSWORD=${TTRSS_DB_PASS}
|
||||||
- POSTGRES_DB=${TTRSS_DB_NAME}
|
- POSTGRES_DB=${TTRSS_DB_NAME}
|
||||||
env_file:
|
|
||||||
- ${ENV_FILE:-.env}
|
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data
|
- db:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
@ -20,7 +17,7 @@ services:
|
||||||
./app
|
./app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- ${ENV_FILE:-.env}
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- app:/var/www/html
|
- app:/var/www/html
|
||||||
- ./config.d:/opt/tt-rss/config.d:ro
|
- ./config.d:/opt/tt-rss/config.d:ro
|
||||||
|
@ -33,7 +30,7 @@ services:
|
||||||
./app
|
./app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- ${ENV_FILE:-.env}
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- backups:/backups
|
- backups:/backups
|
||||||
- app:/var/www/html
|
- app:/var/www/html
|
||||||
|
@ -47,7 +44,7 @@ services:
|
||||||
./app
|
./app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- ${ENV_FILE:-.env}
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- app:/var/www/html
|
- app:/var/www/html
|
||||||
- ./config.d:/opt/tt-rss/config.d:ro
|
- ./config.d:/opt/tt-rss/config.d:ro
|
||||||
|
@ -60,8 +57,6 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- ${HTTP_PORT}:80
|
- ${HTTP_PORT}:80
|
||||||
env_file:
|
|
||||||
- ${ENV_FILE:-.env}
|
|
||||||
volumes:
|
volumes:
|
||||||
- app:/var/www/html:ro
|
- app:/var/www/html:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM docker.io/nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
HEALTHCHECK CMD curl --fail http://localhost/tt-rss/index.php || exit 1
|
HEALTHCHECK CMD curl --fail http://localhost/tt-rss/index.php || exit 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue