-
-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (35 loc) · 690 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (35 loc) · 690 Bytes
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
services:
cache:
image: valkey/valkey:9.1.2
volumes:
- redis-data:/data
command: [valkey-server, --save, '60', '1', --loglevel, warning]
restart: always
read_only: true
database:
image: postgres:18-alpine
volumes:
- postgres-data:/var/lib/postgresql
env_file:
- ./environment
restart: always
weblate:
image: weblate/weblate
depends_on:
- cache
- database
volumes:
- weblate-data:/app/data
- weblate-cache:/app/cache
env_file:
- ./environment
restart: always
read_only: true
tmpfs:
- /run
- /tmp
volumes:
weblate-cache: {}
weblate-data: {}
postgres-data: {}
redis-data: {}