49 lines
978 B
YAML
49 lines
978 B
YAML
version: '2'
|
|
|
|
services:
|
|
shiori:
|
|
image: radhifadlillah/shiori
|
|
|
|
restart: always
|
|
environment:
|
|
- PUID=1002
|
|
- PGID=1002
|
|
- SHIORI_DBMS=postgresql
|
|
- SHIORI_PG_USER=shiori
|
|
- SHIORI_PG_PASS=123456
|
|
- SHIORI_PG_NAME=shiori
|
|
- SHIORI_PG_HOST=db
|
|
- SHIORI_PG_PORT=5432
|
|
- VIRTUAL_HOST=shiori.airdog.site
|
|
- LETSENCRYPT_HOST=shiori.airdog.site
|
|
- LETSENCRYPT_EMAIL=ouch@thetrauma.org
|
|
- VIRTUAL_PORT=8080
|
|
|
|
networks:
|
|
- shiori_back
|
|
- franvproxy_test_proxy-tier
|
|
volumes:
|
|
- ./shiori:/srv/shiori
|
|
depends_on:
|
|
- db
|
|
|
|
db:
|
|
image: postgres:9.6
|
|
restart: always
|
|
environment:
|
|
- PUID=1002
|
|
- PGID=1002
|
|
- POSTGRES_USER=shiori
|
|
- POSTGRES_PASSWORD=123456
|
|
- POSTGRES_DB=shiori
|
|
|
|
networks:
|
|
- shiori_back
|
|
volumes:
|
|
- ./postgres:/var/lib/postgresql/data
|
|
|
|
networks:
|
|
shiori_back:
|
|
franvproxy_test_proxy-tier:
|
|
external: true
|