1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/drone/arm/docker-compose.yml

62 lines
1.3 KiB
YAML
Raw Normal View History

2017-05-27 12:13:11 +02:00
version: '2'
services:
drone-server:
2017-09-24 08:14:59 +02:00
image: quay.io/armswarm/drone:0.8
2017-05-27 12:13:11 +02:00
ports:
- "8000:8000"
2017-09-24 08:14:59 +02:00
- "9000:9000"
2017-05-27 12:13:11 +02:00
volumes:
2017-10-07 04:19:19 +02:00
- ./data/drone:/var/lib/drone
2017-05-27 12:13:11 +02:00
environment:
- DRONE_OPEN=true
2017-09-24 08:14:59 +02:00
- DRONE_HOST=https://drone.easypi.pro
- DRONE_DATABASE_DRIVER=mysql
- DRONE_DATABASE_DATASOURCE=root:root@tcp(mariadb:3306)/drone?parseTime=true
2017-05-27 12:13:11 +02:00
- DRONE_GOGS=true
- DRONE_GOGS_URL=https://gogs.easypi.pro
- DRONE_SECRET=0123456789
2017-10-07 04:19:19 +02:00
- DRONE_ADMIN=root
2017-09-24 08:14:59 +02:00
depends_on:
- mariadb
2017-10-07 04:19:19 +02:00
- gogs
2017-05-27 12:13:11 +02:00
restart: always
drone-agent:
2017-10-07 04:19:19 +02:00
image: drone/agent:linux-arm
2017-05-27 12:13:11 +02:00
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
2017-09-24 08:14:59 +02:00
- DRONE_SERVER=drone-server:9000
2017-05-27 12:13:11 +02:00
- DRONE_SECRET=0123456789
depends_on:
- drone-server
restart: always
2017-09-24 08:14:59 +02:00
mariadb:
image: easypi/mariadb-arm
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=drone
restart: always
2017-10-07 04:19:19 +02:00
gogs:
image: easypi/gogs-arm
ports:
- "2222:22"
- "3000:3000"
volumes:
- ./data/gogs:/data
restart: always
phpmyadmin:
image: easypi/phpmyadmin-arm
ports:
- "8080:80"
environment:
- PMA_HOST=mariadb
- PMA_PORT=3306
restart: always