mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
29 lines
521 B
YAML
29 lines
521 B
YAML
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
|