-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
64 lines (51 loc) · 1.32 KB
/
docker-compose.yml
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
version: '3.9'
services:
vaultwarden:
image: vaultwarden/server:1.32.7@sha256:7a0aa23c0947be3582898deb5170ea4359493ed9a76af2badf60a7eb45ac36af
hostname: vaultwarden
container_name: vaultwarden__vaultwarden
restart: unless-stopped
environment:
SIGNUPS_ALLOWED: 'false'
ADMIN_TOKEN: ${ADMIN_TOKEN}
volumes:
- type: volume
source: vaultwarden_data
target: /data
expose:
- 80
networks:
- outband
deploy:
resources:
limits:
memory: 256m
cloudflared:
image: cloudflare/cloudflared:2024.12.2@sha256:cb38f3f30910a7d51545118a179b8516eb7066eac61855d62ce6ed733c54ce70
hostname: cloudflared
container_name: vaultwarden__cloudflared
restart: unless-stopped
environment:
TUNNEL_METRICS: 0.0.0.0:9126
TUNNEL_LOGFILE: /dev/stdout
command: tunnel run --token ${TUNNEL_TOKEN}
networks:
outband:
prometheus__cloudflared:
aliases:
- vaultwarden__cloudflared
deploy:
resources:
limits:
memory: 128m
volumes:
vaultwarden_data:
name: vaultwarden__vaultwarden_data
mariadb_data:
name: vaultwarden__mariadb_data
networks:
outband:
name: vaultwarden__outband
prometheus__cloudflared:
name: prometheus__cloudflared
external: true