1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/drone/arm/docker-compose.yml

45 lines
977 B
YAML
Raw Normal View History

2021-02-01 09:28:47 +02:00
version: "3.8"
2017-05-27 12:13:11 +02:00
services:
2019-10-20 02:23:47 +02:00
2019-10-01 07:36:54 +02:00
drone:
2021-02-01 09:28:47 +02:00
image: drone/drone:1.10-linux-arm
2017-05-27 12:13:11 +02:00
ports:
2019-10-01 07:36:54 +02:00
- "8080:80"
2017-05-27 12:13:11 +02:00
volumes:
2019-10-01 07:36:54 +02:00
- ./data/drone:/data
2017-05-27 12:13:11 +02:00
environment:
2019-10-01 07:36:54 +02:00
- DRONE_SERVER_HOST=drone
- DRONE_SERVER_PROTO=http
- DRONE_RPC_SECRET=secret
2019-10-20 02:23:47 +02:00
- DRONE_DATABASE_DRIVER=sqlite3
- DRONE_DATABASE_DATASOURCE=/data/database.sqlite
2019-10-01 07:36:54 +02:00
- DRONE_GOGS_SERVER=http://gogs:3000
- DRONE_AGENTS_ENABLED=true
2017-09-24 08:14:59 +02:00
depends_on:
2017-10-07 04:19:19 +02:00
- gogs
2021-02-01 09:28:47 +02:00
restart: unless-stopped
2017-05-27 12:13:11 +02:00
2019-10-01 07:36:54 +02:00
agent:
2021-02-01 09:28:47 +02:00
image: drone/agent:1.10-linux-arm
2017-05-27 12:13:11 +02:00
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
2019-10-01 07:36:54 +02:00
- DRONE_RPC_PROTO=http
- DRONE_RPC_HOST=drone
- DRONE_RPC_SECRET=secret
- DRONE_RUNNER_NAME=agent
- DRONE_RUNNER_CAPACITY=2
2017-05-27 12:13:11 +02:00
depends_on:
2019-10-01 07:36:54 +02:00
- drone
2021-02-01 09:28:47 +02:00
restart: unless-stopped
2017-09-24 08:14:59 +02:00
2017-10-07 04:19:19 +02:00
gogs:
image: easypi/gogs-arm
ports:
- "2222:22"
- "3000:3000"
volumes:
- ./data/gogs:/data
2021-02-01 09:28:47 +02:00
restart: unless-stopped