-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
57 lines (54 loc) · 1.34 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
services:
outline:
container_name: outline
image: docker.getoutline.com/outlinewiki/outline:latest
env_file:
- path: ./outline.env
ports:
- "3000:3000" # OUTLINE PORT
volumes:
- ./easy-outline/storage-data:/var/lib/outline/data
depends_on:
- postgres
- redis
- api
redis:
container_name: redis-outline
image: redis
volumes:
- ./easy-outline/redis.conf:/redis.conf
env_file:
- path: ./outline.env
ports:
- "6379:6379" # REDIS PORT
command: ["redis-server", "/redis.conf"]
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 30s
retries: 3
postgres:
container_name: postgres-outline
restart: always
image: postgres
env_file:
- path: ./outline.env
ports:
- "5432:5432" # POSTGRES PORT
volumes:
- ./easy-outline/database-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-d", "outline", "-U", "user"]
interval: 30s
timeout: 20s
retries: 3
api:
build:
context: ./easy-outline/iframely/
dockerfile: Dockerfile
container_name: iframely-outline
volumes:
- ./easy-outline/iframely/config.local.js:/iframely/config.local.js
restart: always
ports:
- "8061:8061" # IFRAMELY PORT <<< TODO