Commit 25ad817 1 parent b89ebc6 commit 25ad817 Copy full SHA for 25ad817
File tree 5 files changed +15
-12
lines changed
5 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,11 @@ drone:
11
11
- /var/run/docker.sock:/var/run/docker.sock
12
12
environment :
13
13
- REMOTE_DRIVER=gogs
14
- - REMOTE_CONFIG=https ://git.easypi.info/?open=false
14
+ - REMOTE_CONFIG=http ://git.easypi.info:3000 /?open=false
15
15
- PLUGIN_FILTER=armdrone/*
16
16
- GIN_MODE=release
17
+ extra_hosts :
18
+ - git.easypi.info:192.168.31.231
17
19
restart : always
18
20
` ` `
19
21
@@ -90,6 +92,7 @@ environment:
90
92
91
93
## read more
92
94
95
+ - <http://readme.drone.io/setup/overview/>
93
96
- <http://readme.drone.io/devs/cli/>
94
97
- <https://github.com/drone-plugins/drone-docker/blob/master/DOCS.md>
95
98
- <https://gist.github.com/philipz/1e7a36560700fdc1ad63>
Original file line number Diff line number Diff line change 7
7
- /var/run/docker.sock:/var/run/docker.sock
8
8
environment :
9
9
- REMOTE_DRIVER=gogs
10
- - REMOTE_CONFIG=https ://git.easypi.info/?open=false
10
+ - REMOTE_CONFIG=http ://git.easypi.info:3000 /?open=false
11
11
- PLUGIN_FILTER=armdrone/*
12
12
- GIN_MODE=release
13
13
restart : always
Original file line number Diff line number Diff line change 1
1
drone :
2
2
image : drone/drone
3
3
ports :
4
- - " 8000:8000 "
4
+ - " 8000:80 "
5
5
volumes :
6
6
- ./data:/var/lib/drone
7
7
- /var/run/docker.sock:/var/run/docker.sock
8
8
environment :
9
9
- REMOTE_DRIVER=gogs
10
- - REMOTE_CONFIG=https ://git.easypi.info/?open=false
10
+ - REMOTE_CONFIG=http ://git.easypi.info:3000 /?open=false
11
11
- DEBUG=false
12
12
restart : always
13
13
Original file line number Diff line number Diff line change 9
9
- mysql
10
10
restart : always
11
11
12
- mysql
12
+ mysql :
13
13
image : easypi/mariadb-arm
14
14
ports :
15
15
- " 3306:3306"
Original file line number Diff line number Diff line change 3
3
#
4
4
5
5
FROM easypi/alpine-arm
6
- MAINTAINER kev <[email protected] >
6
+ MAINTAINER EasyPi Software Foundation
7
7
8
8
RUN set -xe \
9
- && apk add -U bash \
10
- mariadb \
11
- mariadb-client \
12
- tzdata \
9
+ && apk add --no-cache bash \
10
+ mariadb \
11
+ mariadb-client \
12
+ tzdata \
13
13
&& mkdir -p /run/mysqld \
14
14
&& chown mysql:mysql /run/mysqld \
15
15
&& sed -Ei -e 's/^(bind-address|log)/#&/' \
16
- -e 's/^\[ mysqld\] $/&\n skip-host-cache\n skip-name-resolve\n user=mysql/' /etc/mysql/my.cnf \
17
- && rm -rf /var/cache/apk/*
16
+ -e 's/^\[ mysqld\] $/&\n skip-host-cache\n skip-name-resolve\n user=mysql/' \
17
+ /etc/mysql/my.cnf
18
18
19
19
COPY docker-entrypoint.sh /
20
20
You can’t perform that action at this time.
0 commit comments