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
|
EXPOSE 9000/tcp
|
||||||
|
|
||||||
ENV SCRIPT_ROOT=/opt/tt-rss
|
ENV SCRIPT_ROOT=/opt/tt-rss
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
|
---
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: postgres:12-alpine
|
image: docker.io/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
|
||||||
|
|
||||||
|
@ -17,7 +20,7 @@ services:
|
||||||
./app
|
./app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- ${ENV_FILE:-.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
|
||||||
|
@ -30,7 +33,7 @@ services:
|
||||||
./app
|
./app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- ${ENV_FILE:-.env}
|
||||||
volumes:
|
volumes:
|
||||||
- backups:/backups
|
- backups:/backups
|
||||||
- app:/var/www/html
|
- app:/var/www/html
|
||||||
|
@ -44,7 +47,7 @@ services:
|
||||||
./app
|
./app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- ${ENV_FILE:-.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
|
||||||
|
@ -57,6 +60,8 @@ 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 nginx:alpine
|
FROM docker.io/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