-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-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.1@sha256:7899093c3d34eaf1c4f12cd4bb31b3cb4e0ccfa3823b3661feff4561be69c823
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.9.1@sha256:0b88e00d8f93f9d18197f11506f0f6bf0d9266b5a0361c068930a3fe45b68b72
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