-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
70 lines (66 loc) · 1.56 KB
/
docker-compose.yml
File metadata and controls
70 lines (66 loc) · 1.56 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
services:
docmost:
container_name: docmost_instance
image: docmost/docmost:0.25.3
depends_on:
- db
- redis
environment:
APP_URL: ${APP_URL}
APP_SECRET: ${APP_SECRET}
DATABASE_URL: "postgresql://docmost:${PG_PASSWORD}@db:5432/docmost?schema=public"
REDIS_URL: 'redis://redis:6379'
MAIL_DRIVER: 'smtp'
SMTP_HOST: 'mail.smtp2go.com'
SMTP_PORT: 2525
SMTP_USERNAME: ${SMTP_USERNAME}
SMTP_PASSWORD: ${SMTP_PASSWORD}
SMTP_SECURE: false
MAIL_FROM_ADDRESS: 'no-reply@sentience-robotics.fr'
MAIL_FROM_NAME: 'Sentience'
STORAGE_DRVIER: 'local'
FILE_UPLOAD_SIZE_LIMIT: '100mb'
env_file:
- .env
ports:
- "3000:3000"
restart: unless-stopped
volumes:
- docmost:/app/data/storage
db:
container_name: postgresql_instance
image: postgres:16-alpine
environment:
POSTGRES_DB: docmost
POSTGRES_USER: docmost
POSTGRES_PASSWORD: ${PG_PASSWORD}
env_file:
- .env
restart: unless-stopped
volumes:
- db_data:/var/lib/postgresql/data
redis:
container_name: redis_instance
image: redis:7.2-alpine
restart: unless-stopped
volumes:
- redis_data:/data
caddy:
image: caddy:latest
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
environment:
- APP_URL=${APP_URL}
restart: unless-stopped
volumes:
docmost:
db_data:
redis_data:
caddy_file:
caddy_data:
caddy_config: