fix freshrss with other Dbs
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
# ignore: true
|
|
||||||
# documentation: https://freshrss.org/index.html
|
# documentation: https://freshrss.org/index.html
|
||||||
# slogan: A free, self-hostable feed aggregator.
|
# slogan: A free, self-hostable feed aggregator.
|
||||||
# tags: rss, feed
|
# tags: rss, feed
|
||||||
@@ -17,13 +16,16 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- freshrss-data:/var/www/FreshRSS/data
|
- freshrss-data:/var/www/FreshRSS/data
|
||||||
- freshrss-extensions:/var/www/FreshRSS/extensions
|
- freshrss-extensions:/var/www/FreshRSS/extensions
|
||||||
|
depends_on:
|
||||||
|
freshrss-db:
|
||||||
|
condition: service_healthy
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "bash -c ':> /dev/tcp/127.0.0.1/80' || exit 1"]
|
test: ["CMD-SHELL", "bash -c ':> /dev/tcp/127.0.0.1/80' || exit 1"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 20s
|
timeout: 20s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
mariadb:
|
freshrss-db:
|
||||||
image: mariadb:11
|
image: mariadb:11
|
||||||
volumes:
|
volumes:
|
||||||
- mariadb-data:/var/lib/mysql
|
- mariadb-data:/var/lib/mysql
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
# ignore: true
|
|
||||||
# documentation: https://freshrss.org/index.html
|
# documentation: https://freshrss.org/index.html
|
||||||
# slogan: A free, self-hostable feed aggregator.
|
# slogan: A free, self-hostable feed aggregator.
|
||||||
# tags: rss, feed
|
# tags: rss, feed
|
||||||
@@ -17,13 +16,16 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- freshrss-data:/var/www/FreshRSS/data
|
- freshrss-data:/var/www/FreshRSS/data
|
||||||
- freshrss-extensions:/var/www/FreshRSS/extensions
|
- freshrss-extensions:/var/www/FreshRSS/extensions
|
||||||
|
depends_on:
|
||||||
|
freshrss-db:
|
||||||
|
condition: service_healthy
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "bash -c ':> /dev/tcp/127.0.0.1/80' || exit 1"]
|
test: ["CMD-SHELL", "bash -c ':> /dev/tcp/127.0.0.1/80' || exit 1"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 20s
|
timeout: 20s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
mysql:
|
freshrss-db:
|
||||||
image: mysql:8
|
image: mysql:8
|
||||||
volumes:
|
volumes:
|
||||||
- mysql-data:/var/lib/mysql
|
- mysql-data:/var/lib/mysql
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
# ignore: true
|
|
||||||
# documentation: https://freshrss.org/index.html
|
# documentation: https://freshrss.org/index.html
|
||||||
# slogan: A free, self-hostable feed aggregator.
|
# slogan: A free, self-hostable feed aggregator.
|
||||||
# tags: rss, feed
|
# tags: rss, feed
|
||||||
|
|||||||
Reference in New Issue
Block a user