add fresh-rss
This commit is contained in:
70
Docker/fresh-rss/docker-compose.yml
Normal file
70
Docker/fresh-rss/docker-compose.yml
Normal file
@@ -0,0 +1,70 @@
|
||||
version: "2.4"
|
||||
|
||||
services:
|
||||
freshrss:
|
||||
image: freshrss/freshrss:edge
|
||||
container_name: freshrss
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
options:
|
||||
max-size: 10m
|
||||
volumes:
|
||||
- ./data/fresh-rss/data:/var/www/FreshRSS/data
|
||||
- ./data/fresh-rss/extensions:/var/www/FreshRSS/extensions
|
||||
ports:
|
||||
# If you want to open a port 8080 on the local machine:
|
||||
- "8080:80"
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
CRON_MIN: '2,32'
|
||||
FRESHRSS_ENV: development
|
||||
# Optional advanced parameter controlling the internal Apache listening port
|
||||
LISTEN: 0.0.0.0:80
|
||||
# Optional auto-install parameters (the Web interface install is recommended instead):
|
||||
# ⚠️ Parameters below are only used at the very first run (so far).
|
||||
# So if changes are made (or in .env file), first delete the service and volumes.
|
||||
# ℹ️ All the --db-* parameters can be omitted if using built-in SQLite database.
|
||||
FRESHRSS_INSTALL: |-
|
||||
--api_enabled
|
||||
--base_url http://127.0.0.1:8080
|
||||
--db-base freshrss
|
||||
--db-host freshrss-db
|
||||
--db-password freshrss
|
||||
--db-type pgsql
|
||||
--db-user freshrss
|
||||
--default_user admin
|
||||
--language en
|
||||
FRESHRSS_USER: |-
|
||||
--api_password password
|
||||
--email 1058178245@qq.com
|
||||
--language en
|
||||
--password password
|
||||
--user admin
|
||||
networks:
|
||||
nginx:
|
||||
aliases:
|
||||
- freshrss
|
||||
|
||||
freshrss-db:
|
||||
image: postgres:14
|
||||
container_name: freshrss-db
|
||||
hostname: freshrss-db
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
options:
|
||||
max-size: 10m
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_DB: freshrss
|
||||
POSTGRES_USER: freshrss
|
||||
POSTGRES_PASSWORD: freshrss
|
||||
networks:
|
||||
nginx:
|
||||
aliases:
|
||||
- freshrss-db
|
||||
|
||||
networks:
|
||||
nginx:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user