You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
590 B
27 lines
590 B
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:
|