-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
84 lines (82 loc) · 2.15 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: "3"
services:
node_exporter:
image: quay.io/prometheus/node-exporter:latest
container_name: node_exporter
network_mode: host
pid: host
restart: always
volumes:
- /:/host:ro,rslave
command:
- "--path.rootfs=/host"
prometheus:
image: quay.io/prometheus/prometheus:latest
container_name: prometheus
restart: always
extra_hosts:
host.docker.internal: host-gateway
volumes:
- ./prometheus/config:/etc/prometheus
- ./prometheus/data:/prometheus:rslave
grafana:
image: docker.io/grafana/grafana-oss
container_name: grafana
restart: unless-stopped
volumes:
- ./grafana/data:/var/lib/grafana
vaultwarden:
image: docker.io/vaultwarden/server:alpine
container_name: vaultwarden
restart: unless-stopped
environment:
WEBSOCKET_ENABLED: true
SIGNUPS_ALLOWED: false
volumes:
- ./vaultwarden/data:/data
gitea:
image: docker.io/gitea/gitea:1
container_name: gitea
restart: unless-stopped
environment:
GITEA__service__DISABLE_REGISTRATION: true
volumes:
- ./gitea/data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
giscus:
image: docker.io/wooseopkim/giscus:latest
container_name: giscus
restart: unless-stopped
env_file: ./giscus/.env
caddy:
image: docker.io/caddy:2-alpine
container_name: caddy
restart: unless-stopped
env_file: ./caddy/.env
ports:
- 80:80
- 443:443
volumes:
- ./caddy/config/Caddyfile:/etc/caddy/Caddyfile:ro
- ./caddy/config/generated:/config
- ./caddy/data:/data
restic:
image: docker.io/wooseopkim/restic:latest
container_name: restic
restart: always
env_file: ./restic/.env
entrypoint: /entrypoint.sh
volumes:
- .:/data:ro
- ./restic/entrypoint.sh:/entrypoint.sh:ro
watchtower:
image: containrrr/watchtower
container_name: watchtower
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_INCLUDE_RESTARTING=true
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --schedule "0 0 0 * * *"