Basic docker config
This commit is contained in:
parent
287c634347
commit
5be8defd38
36
docker-compose.yml
Normal file
36
docker-compose.yml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
mariadb:
|
||||||
|
image: mariadb
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- /data/freshrss/maria:/var/lib/mysql
|
||||||
|
environment:
|
||||||
|
- "MYSQL_ROOT_PASSWORD=example"
|
||||||
|
- "MYSQL_USER=fresh"
|
||||||
|
- "MYSQL_PASSWORD=example"
|
||||||
|
- "MYSQL_DATABASE=freshrss"
|
||||||
|
|
||||||
|
|
||||||
|
freshrss:
|
||||||
|
image: freshrss/freshrss:edge
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 127.0.0.1:8083:80
|
||||||
|
depends_on:
|
||||||
|
- mariadb
|
||||||
|
volumes:
|
||||||
|
- '/data/freshrss/config:/var/www/FreshRSS/data'
|
||||||
|
- '/data/freshrss/extensions:/var/www/FreshRSS/extensions'
|
||||||
|
environment:
|
||||||
|
- CRON_MIN=*/20
|
||||||
|
links:
|
||||||
|
- read:read
|
||||||
|
|
||||||
|
read:
|
||||||
|
image: phpdockerio/readability-js-server
|
||||||
|
restart: always
|
||||||
|
ports: # Not really necessary
|
||||||
|
- '127.0.0.1:8081:3000'
|
Loading…
Reference in a new issue