-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (57 loc) · 1.12 KB
/
Copy pathdocker-compose.yml
File metadata and controls
60 lines (57 loc) · 1.12 KB
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
version: "3.3"
networks:
gitea:
external: false
services:
gitea:
image: gitea/gitea:latest
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
networks:
- gitea
volumes:
- type: bind
source: ./data/gitea
target: /data
ports:
- "3000"
- "22:22"
depends_on:
- db
db:
image: mysql:5.7
restart: always
environment:
- MYSQL_ROOT_PASSWORD=gitea
- MYSQL_USER=gitea
- MYSQL_PASSWORD=gitea
- MYSQL_DATABASE=gitea
networks:
- gitea
volumes:
- ./data/mysql:/var/lib/mysql
http:
build:
context: github.com/abiosoft/caddy-docker.git
args:
version: 0.10.12
volumes:
- type: bind
source: ./data/sites/
target: /var/www/sites/
- type: bind
source: ./data/caddypath/
target: /var/caddy/
- type: bind
source: ./Caddyfile
target: /etc/Caddyfile
environment:
CADDYPATH: "/var/caddy"
ports:
- "443:443"
- "8880:80"
restart: always
networks:
- gitea