-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (48 loc) · 999 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (48 loc) · 999 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
36
37
38
39
40
41
42
43
44
45
46
47
48
services:
caddy:
# https://github.com/caddyserver/caddy-docker
image: caddy:latest
networks:
gitea:
unifi:
ports:
- "80:80"
- "443:443"
restart: unless-stopped
volumes:
- "./caddy/Caddyfile:/etc/caddy/Caddyfile"
- "./http:/srv/http"
- "caddy-config:/config"
- "caddy-data:/data"
# https://docs.gitea.com/next/installation/install-with-docker
gitea:
image: gitea/gitea:1.22
networks:
gitea:
ports:
- "3000:3000"
- "222:22"
restart: unless-stopped
volumes:
- "gitea-data:/data"
unifi:
# https://github.com/jacobalberty/unifi-docker
image: jacobalberty/unifi
networks:
unifi:
ports:
- "3478:3478/udp"
- "8080:8080"
- "8443:8443"
restart: unless-stopped
volumes:
- "unifi-data:/unifi/data"
networks:
gitea:
unifi:
volumes:
caddy-config:
caddy-data:
gitea-data:
unifi-data:
# vim: expandtab shiftwidth=2 tabstop=2