From 75ddb1dfcc1b5cc8036b54415baa55d876a96ee8 Mon Sep 17 00:00:00 2001 From: fossilfranv Date: Wed, 3 Mar 2021 13:32:06 -0800 Subject: [PATCH] first commit --- docker-compose.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..84d8def --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,48 @@ +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