mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-02 03:37:40 +02:00
update drone
This commit is contained in:
parent
b89ebc65d4
commit
25ad817b0a
@ -11,9 +11,11 @@ drone:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- REMOTE_DRIVER=gogs
|
||||
- REMOTE_CONFIG=https://git.easypi.info/?open=false
|
||||
- REMOTE_CONFIG=http://git.easypi.info:3000/?open=false
|
||||
- PLUGIN_FILTER=armdrone/*
|
||||
- GIN_MODE=release
|
||||
extra_hosts:
|
||||
- git.easypi.info:192.168.31.231
|
||||
restart: always
|
||||
```
|
||||
|
||||
@ -90,6 +92,7 @@ environment:
|
||||
|
||||
## read more
|
||||
|
||||
- <http://readme.drone.io/setup/overview/>
|
||||
- <http://readme.drone.io/devs/cli/>
|
||||
- <https://github.com/drone-plugins/drone-docker/blob/master/DOCS.md>
|
||||
- <https://gist.github.com/philipz/1e7a36560700fdc1ad63>
|
||||
|
@ -7,7 +7,7 @@ drone:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- REMOTE_DRIVER=gogs
|
||||
- REMOTE_CONFIG=https://git.easypi.info/?open=false
|
||||
- REMOTE_CONFIG=http://git.easypi.info:3000/?open=false
|
||||
- PLUGIN_FILTER=armdrone/*
|
||||
- GIN_MODE=release
|
||||
restart: always
|
||||
|
@ -1,13 +1,13 @@
|
||||
drone:
|
||||
image: drone/drone
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8000:80"
|
||||
volumes:
|
||||
- ./data:/var/lib/drone
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- REMOTE_DRIVER=gogs
|
||||
- REMOTE_CONFIG=https://git.easypi.info/?open=false
|
||||
- REMOTE_CONFIG=http://git.easypi.info:3000/?open=false
|
||||
- DEBUG=false
|
||||
restart: always
|
||||
|
||||
|
@ -9,7 +9,7 @@ gogs:
|
||||
- mysql
|
||||
restart: always
|
||||
|
||||
mysql
|
||||
mysql:
|
||||
image: easypi/mariadb-arm
|
||||
ports:
|
||||
- "3306:3306"
|
||||
|
@ -3,18 +3,18 @@
|
||||
#
|
||||
|
||||
FROM easypi/alpine-arm
|
||||
MAINTAINER kev <noreplay@easypi.info>
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U bash \
|
||||
&& apk add --no-cache bash \
|
||||
mariadb \
|
||||
mariadb-client \
|
||||
tzdata \
|
||||
&& mkdir -p /run/mysqld \
|
||||
&& chown mysql:mysql /run/mysqld \
|
||||
&& sed -Ei -e 's/^(bind-address|log)/#&/' \
|
||||
-e 's/^\[mysqld\]$/&\nskip-host-cache\nskip-name-resolve\nuser=mysql/' /etc/mysql/my.cnf \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
-e 's/^\[mysqld\]$/&\nskip-host-cache\nskip-name-resolve\nuser=mysql/' \
|
||||
/etc/mysql/my.cnf
|
||||
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user