Browse Source

initial commit

master
Yasuhiro Yamaguchi 5 years ago
commit
eb94e9e6d0
  1. 1
      .gitignore
  2. 12
      README.md
  3. 27
      docker-compose.yml

1
.gitignore

@ -0,0 +1 @@
.env

12
README.md

@ -0,0 +1,12 @@
shiori-docker
=============
### Installation
```
$ cat << EOF > .env
SHIORI_PORT=1357
POSTGRES_USER=pguser
POSTGRES_PASSWORD=pgpassword
```

27
docker-compose.yml

@ -0,0 +1,27 @@
version: '3'
services:
app:
image: radhifadlillah/shiori
ports:
- ${SHIORI_PORT}:8080
restart: always
environment:
- SHIORI_DBMS=postgres
- SHIORI_PG_HOST=db
- SHIORI_PG_PORT=5432
- SHIORI_PG_USER=${POSTGRES_USER}
- SHIORI_PG_PASS=${POSTGRES_PASSWORD}
- SHIORI_PG_NAME=shiori
db:
image: postgres:12.3-alpine
restart: always
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=shiori
volumes:
- db:/var/lib/postgresql/data
volumes:
db:
Loading…
Cancel
Save