|
|
@ -1,20 +1,12 @@
|
|
|
|
version: '3'
|
|
|
|
version: '3'
|
|
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
services:
|
|
|
|
db:
|
|
|
|
|
|
|
|
image: postgres:12-alpine
|
|
|
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- db:/var/lib/postgresql/data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app:
|
|
|
|
app:
|
|
|
|
image: cthulhoo/ttrss-fpm-pgsql-static:${BUILD_TAG}
|
|
|
|
image: cthulhoo/ttrss-fpm-pgsql-static:${BUILD_TAG}
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
context:
|
|
|
|
context:
|
|
|
|
./app
|
|
|
|
./app
|
|
|
|
restart: unless-stopped
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- app:/var/www/html
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- db
|
|
|
|
|
|
|
|
|
|
|
@ -22,10 +14,6 @@ services:
|
|
|
|
# image: cthulhoo/ttrss-web:latest
|
|
|
|
# image: cthulhoo/ttrss-web:latest
|
|
|
|
# build: ./web
|
|
|
|
# build: ./web
|
|
|
|
# restart: unless-stopped
|
|
|
|
# restart: unless-stopped
|
|
|
|
# ports:
|
|
|
|
|
|
|
|
# - ${HTTP_PORT}:2015
|
|
|
|
|
|
|
|
# volumes:
|
|
|
|
|
|
|
|
# - app:/var/www/html:ro
|
|
|
|
|
|
|
|
# depends_on:
|
|
|
|
# depends_on:
|
|
|
|
# - app
|
|
|
|
# - app
|
|
|
|
|
|
|
|
|
|
|
@ -36,12 +24,6 @@ services:
|
|
|
|
# environment:
|
|
|
|
# environment:
|
|
|
|
# - CADDYPATH=/certs
|
|
|
|
# - CADDYPATH=/certs
|
|
|
|
# - HTTP_HOST=${HTTP_HOST}
|
|
|
|
# - HTTP_HOST=${HTTP_HOST}
|
|
|
|
# ports:
|
|
|
|
|
|
|
|
# - 80:80
|
|
|
|
|
|
|
|
# - 443:443
|
|
|
|
|
|
|
|
# volumes:
|
|
|
|
|
|
|
|
# - app:/var/www/html:ro
|
|
|
|
|
|
|
|
# - certs:/certs
|
|
|
|
|
|
|
|
# depends_on:
|
|
|
|
# depends_on:
|
|
|
|
# - app
|
|
|
|
# - app
|
|
|
|
|
|
|
|
|
|
|
@ -49,13 +31,6 @@ services:
|
|
|
|
image: cthulhoo/ttrss-web-nginx:latest
|
|
|
|
image: cthulhoo/ttrss-web-nginx:latest
|
|
|
|
build: ./web-nginx
|
|
|
|
build: ./web-nginx
|
|
|
|
restart: unless-stopped
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- app:/var/www/html:ro
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- app
|
|
|
|
- app
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
db:
|
|
|
|
|
|
|
|
app:
|
|
|
|
|
|
|
|
certs:
|
|
|
|
|
|
|
|
backups:
|
|
|
|
|
|
|
|