Compare commits
3 Commits
2c11aa4a35
...
main
Author | SHA1 | Date |
---|---|---|
Kienan Stewart | dc3bf77a53 | |
Kienan Stewart | 50885891f6 | |
Kienan Stewart | c35c481a7d |
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.16
|
||||
FROM docker.io/alpine:3.16
|
||||
EXPOSE 9000/tcp
|
||||
|
||||
ENV SCRIPT_ROOT=/opt/tt-rss
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
---
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:12-alpine
|
||||
image: docker.io/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
|
||||
|
||||
|
@ -17,7 +20,7 @@ services:
|
|||
./app
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
- ${ENV_FILE:-.env}
|
||||
volumes:
|
||||
- app:/var/www/html
|
||||
- ./config.d:/opt/tt-rss/config.d:ro
|
||||
|
@ -30,7 +33,7 @@ services:
|
|||
./app
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
- ${ENV_FILE:-.env}
|
||||
volumes:
|
||||
- backups:/backups
|
||||
- app:/var/www/html
|
||||
|
@ -44,7 +47,7 @@ services:
|
|||
./app
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
- ${ENV_FILE:-.env}
|
||||
volumes:
|
||||
- app:/var/www/html
|
||||
- ./config.d:/opt/tt-rss/config.d:ro
|
||||
|
@ -57,6 +60,8 @@ services:
|
|||
restart: unless-stopped
|
||||
ports:
|
||||
- ${HTTP_PORT}:80
|
||||
env_file:
|
||||
- ${ENV_FILE:-.env}
|
||||
volumes:
|
||||
- app:/var/www/html:ro
|
||||
depends_on:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM nginx:alpine
|
||||
FROM docker.io/nginx:alpine
|
||||
|
||||
HEALTHCHECK CMD curl --fail http://localhost/tt-rss/index.php || exit 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue