2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-05 12:25:27 +01:00

add outline

This commit is contained in:
kev
2020-10-09 18:36:04 +08:00
parent d24cf16983
commit 7ec546f8c5
5 changed files with 94 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
version: "3.8"
services:
outline:
image: outlinewiki/outline
ports:
- "3000:3000"
env_file:
- env
restart: unless-stopped
postgres:
image: postgres:alpine
volumes:
- ./data/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=outline
- POSTGRES_PASSWORD=outline
- POSTGRES_DB=outline
restart: unless-stopped
redis:
image: redis:alpine
command: --save 900 1
volumes:
- ./data/redis:/data
restart: unless-stopped