1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00

update drone-arm

This commit is contained in:
kev 2017-10-07 10:19:19 +08:00
parent fe091e5255
commit dec8cbd67e

View File

@ -7,7 +7,7 @@ services:
- "8000:8000" - "8000:8000"
- "9000:9000" - "9000:9000"
volumes: volumes:
- ./data:/var/lib/drone - ./data/drone:/var/lib/drone
environment: environment:
- DRONE_OPEN=true - DRONE_OPEN=true
- DRONE_HOST=https://drone.easypi.pro - DRONE_HOST=https://drone.easypi.pro
@ -16,12 +16,14 @@ services:
- DRONE_GOGS=true - DRONE_GOGS=true
- DRONE_GOGS_URL=https://gogs.easypi.pro - DRONE_GOGS_URL=https://gogs.easypi.pro
- DRONE_SECRET=0123456789 - DRONE_SECRET=0123456789
- DRONE_ADMIN=root
depends_on: depends_on:
- mariadb - mariadb
- gogs
restart: always restart: always
drone-agent: drone-agent:
image: quay.io/armswarm/drone:0.8-agent image: drone/agent:linux-arm
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
environment: environment:
@ -39,3 +41,21 @@ services:
- MYSQL_ROOT_PASSWORD=root - MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=drone - MYSQL_DATABASE=drone
restart: always restart: always
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