mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-27 09:18:43 +00:00
update drone-arm
This commit is contained in:
parent
d18f0c57e3
commit
f389f1d19e
23
drone/arm/Dockerfile
Normal file
23
drone/arm/Dockerfile
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for drone-arm
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM easypi/alpine-arm
|
||||||
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
RUN apk add --no-cache ca-certificates
|
||||||
|
|
||||||
|
ADD drone /drone
|
||||||
|
|
||||||
|
ENV DATABASE_DRIVER=sqlite3 \
|
||||||
|
DATABASE_CONFIG=/var/lib/drone/drone.sqlite \
|
||||||
|
GODEBUG=netdns=go \
|
||||||
|
XDG_CACHE_HOME=/var/lib/drone
|
||||||
|
|
||||||
|
VOLUME $XDG_CACHE_HOME
|
||||||
|
WORKDIR $XDG_CACHE_HOME
|
||||||
|
|
||||||
|
EXPOSE 8000
|
||||||
|
|
||||||
|
ENTRYPOINT ["/drone"]
|
||||||
|
CMD ["server"]
|
@ -1,13 +1,28 @@
|
|||||||
drone:
|
version: '2'
|
||||||
image: armdrone/drone
|
|
||||||
ports:
|
services:
|
||||||
- "8000:80"
|
drone-server:
|
||||||
volumes:
|
image: easypi/drone-arm
|
||||||
- ./data:/var/lib/drone
|
ports:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- "8000:8000"
|
||||||
environment:
|
volumes:
|
||||||
- REMOTE_DRIVER=gogs
|
- ./data:/var/lib/drone
|
||||||
- REMOTE_CONFIG=http://git.easypi.info:3000/?open=false
|
environment:
|
||||||
- PLUGIN_FILTER=armdrone/*
|
- DRONE_OPEN=true
|
||||||
- GIN_MODE=release
|
- DRONE_HOST=drone.easypi.pro
|
||||||
restart: always
|
- DRONE_GOGS=true
|
||||||
|
- DRONE_GOGS_URL=https://gogs.easypi.pro
|
||||||
|
- DRONE_SECRET=0123456789
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
drone-agent:
|
||||||
|
image: easypi/drone-arm
|
||||||
|
command: agent
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
environment:
|
||||||
|
- DRONE_SERVER=ws://drone-server:8000/ws/broker
|
||||||
|
- DRONE_SECRET=0123456789
|
||||||
|
depends_on:
|
||||||
|
- drone-server
|
||||||
|
restart: always
|
||||||
|
BIN
drone/arm/drone
Executable file
BIN
drone/arm/drone
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user