1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/wiki/docker-compose.yml

29 lines
529 B
YAML
Raw Normal View History

2021-01-20 05:05:33 +02:00
version: "3.8"
services:
wiki:
image: requarks/wiki:2
ports:
- "3000:3000"
environment:
- DB_TYPE=postgres
- DB_HOST=postgres
- DB_PORT=5432
- DB_USER=wiki
- DB_PASS=wiki
- DB_NAME=wiki
depends_on:
- postgres
restart: unless-stopped
postgres:
image: postgres:11-alpine
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=wiki
- POSTGRES_PASSWORD=wiki
- POSTGRES_USER=wiki
restart: unless-stopped