-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (35 loc) · 973 Bytes
/
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
version: '2'
services:
drone-server:
image: drone/drone:1.3
ports:
- 8000:8000
- 8001:80
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/drone:/data
restart: always
environment:
- DRONE_OPEN=true
- DRONE_USER_CREATE=username:double1996,admin:true
- DRONE_GITHUB_SERVER=https://github.com
- DRONE_GITHUB_CLIENT_ID=${DRONE_GITHUB_CLIENT_ID}
- DRONE_GITHUB_CLIENT_SECRET=${DRONE_GITHUB_CLIENT_SECRET}
- DRONE_GIT_ALWAYS_AUTH=fals- DRONE_LOGS_DEBUG=true
e
- DRONE_SERVER_HOST=${DRONE_HOST}
- DRONE_LOGS_DEBUG=true
- DRONE_SECRET=ok
blog:
image: hub.tencentyun.com/double1996/blog:54
ports:
- 41185:8081
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/blog/config.yml:/app/deployments/config.yml
- /etc/blog/blog.db:/app/blog.db
restart: always
nginx:
image: nginx:1.6
ports:
- 80:80