|
|
@ -4,8 +4,10 @@ services:
|
|
|
|
db:
|
|
|
|
db:
|
|
|
|
image: postgres:12-alpine
|
|
|
|
image: postgres:12-alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
restart: unless-stopped
|
|
|
|
env_file:
|
|
|
|
environment:
|
|
|
|
- .env
|
|
|
|
- POSTGRES_USER=${TTRSS_DB_USER}
|
|
|
|
|
|
|
|
- POSTGRES_PASSWORD=${TTRSS_DB_PASS}
|
|
|
|
|
|
|
|
- POSTGRES_DB=${TTRSS_DB_NAME}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- db:/var/lib/postgresql/data
|
|
|
|
- db:/var/lib/postgresql/data
|
|
|
|
|
|
|
|
|
|
|
@ -16,10 +18,6 @@ services:
|
|
|
|
restart: unless-stopped
|
|
|
|
restart: unless-stopped
|
|
|
|
env_file:
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
- .env
|
|
|
|
environment:
|
|
|
|
|
|
|
|
- TTRSS_DB_NAME=${POSTGRES_USER}
|
|
|
|
|
|
|
|
- TTRSS_DB_USER=${POSTGRES_USER}
|
|
|
|
|
|
|
|
- TTRSS_DB_PASS=${POSTGRES_PASSWORD}
|
|
|
|
|
|
|
|
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
|
|
|
@ -31,10 +29,6 @@ services:
|
|
|
|
context:
|
|
|
|
context:
|
|
|
|
./app
|
|
|
|
./app
|
|
|
|
restart: unless-stopped
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
|
|
|
|
- TTRSS_DB_NAME=${POSTGRES_USER}
|
|
|
|
|
|
|
|
- TTRSS_DB_USER=${POSTGRES_USER}
|
|
|
|
|
|
|
|
- TTRSS_DB_PASS=${POSTGRES_PASSWORD}
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- backups:/backups
|
|
|
|
- backups:/backups
|
|
|
|
- app:/var/www/html
|
|
|
|
- app:/var/www/html
|
|
|
@ -49,10 +43,6 @@ services:
|
|
|
|
restart: unless-stopped
|
|
|
|
restart: unless-stopped
|
|
|
|
env_file:
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
- .env
|
|
|
|
environment:
|
|
|
|
|
|
|
|
- TTRSS_DB_NAME=${POSTGRES_USER}
|
|
|
|
|
|
|
|
- TTRSS_DB_USER=${POSTGRES_USER}
|
|
|
|
|
|
|
|
- TTRSS_DB_PASS=${POSTGRES_PASSWORD}
|
|
|
|
|
|
|
|
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
|
|
|
|