mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update gogs-arm
This commit is contained in:
parent
6e4532f406
commit
fded18b941
@ -30,9 +30,10 @@ RUN set -xe \
|
||||
RUN set -xe \
|
||||
&& mkdir /app/ \
|
||||
&& cd /app/ \
|
||||
&& curl -LO https://github.com/gogits/gogs/releases/download/v${GOGS_VERSION}/linux_armv6.zip \
|
||||
&& unzip linux_armv6.zip \
|
||||
&& rm linux_armv6.zip
|
||||
&& curl -LO https://github.com/gogits/gogs/releases/download/v${GOGS_VERSION}/raspi2.zip \
|
||||
&& unzip raspi2.zip \
|
||||
&& rm raspi2.zip \
|
||||
&& ln -s /lib/libc.musl-armhf.so.1 /lib/ld-linux-armhf.so.3
|
||||
|
||||
RUN set -xe \
|
||||
&& cd /app/gogs/ \
|
||||
|
@ -5,26 +5,4 @@ gogs:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
links:
|
||||
- mysql
|
||||
restart: always
|
||||
|
||||
mysql:
|
||||
image: easypi/mariadb-arm
|
||||
ports:
|
||||
- "3306:3306"
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=root
|
||||
- MYSQL_DATABASE=gogs
|
||||
restart: always
|
||||
|
||||
phpmyadmin:
|
||||
image: easypi/phpmyadmin-arm
|
||||
ports:
|
||||
- "8080:80"
|
||||
environment:
|
||||
- PMA_HOST=mysql
|
||||
- PMA_PORT=3306
|
||||
links:
|
||||
- mysql
|
||||
restart: always
|
||||
|
@ -3,6 +3,17 @@ phpmyadmin:
|
||||
ports:
|
||||
- "8080:80"
|
||||
environment:
|
||||
- PMA_HOST=dbhost
|
||||
- PMA_HOST=mysql
|
||||
- PMA_PORT=3306
|
||||
links:
|
||||
- mysql
|
||||
restart: always
|
||||
|
||||
mysql:
|
||||
image: easypi/mariadb-arm
|
||||
ports:
|
||||
- "3306:3306"
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=root
|
||||
- MYSQL_DATABASE=wordpress
|
||||
restart: always
|
||||
|
Loading…
Reference in New Issue
Block a user