forked from HenryQW/Awesome-TTRSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
34 lines (33 loc) · 1013 Bytes
/
docker-compose.dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: "3"
services:
database.postgres:
image: sameersbn/postgresql:latest
container_name: postgres
ports:
- 5432:5432
environment:
- PG_PASSWORD=ttrss # please change the password
restart: always
service.rss:
build:
context: .
dockerfile: Dockerfile.dev
args:
branch: master
# image: wangqiru/ttrss:dev
container_name: ttrss
ports:
- 181:80
environment:
- SELF_URL_PATH=http://localhost:181/ # please change to your own domain
- DB_HOST=database.postgres
- DB_PORT=5432
- DB_NAME=ttrss
- DB_USER=postgres
- DB_PASS=ttrss # please change the password
- ENABLE_PLUGINS=auth_internal,fever # auth_internal is required. Plugins enabled here will be enabled for all users as system plugins
- SINGLE_USER_MODE=true
stdin_open: true
tty: true
restart: always
command: sh -c 'sh /wait-for.sh $$DB_HOST:$$DB_PORT -- php /configure-db.php && exec s6-svscan /etc/s6/'