mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
update semaphore
This commit is contained in:
parent
7b9a7e9ef0
commit
6903b27665
@ -460,7 +460,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] firefox
|
- [x] firefox
|
||||||
- [x] vnc
|
- [x] vnc
|
||||||
- [x] selenoid-ui
|
- [x] selenoid-ui
|
||||||
- [x] ansiblesemaphore/semaphore
|
- [x] semaphoreui/semaphore
|
||||||
- [x] sentry
|
- [x] sentry
|
||||||
- [x] atmoz/sftp
|
- [x] atmoz/sftp
|
||||||
- [x] quay.io/outline/shadowbox
|
- [x] quay.io/outline/shadowbox
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
#
|
|
||||||
# Dockerfile for semaphore-arm64
|
|
||||||
#
|
|
||||||
|
|
||||||
FROM debian:bullseye
|
|
||||||
MAINTAINER EasyPi Software Foundation
|
|
||||||
|
|
||||||
ARG APP_VERSION=2.8.77
|
|
||||||
ARG APP_ARCH=arm64
|
|
||||||
ARG APP_FILE=semaphore_${APP_VERSION}_linux_${APP_ARCH}.deb
|
|
||||||
ARG APP_URL=https://github.com/ansible-semaphore/semaphore
|
|
||||||
ARG APP_PACKAGE_URL=${APP_URL}/releases/download/v${APP_VERSION}/${APP_FILE}
|
|
||||||
ARG APP_WRAPPER_URL=${APP_URL}/raw/v${APP_VERSION}/deployment/docker/common/semaphore-wrapper
|
|
||||||
|
|
||||||
RUN set -xe \
|
|
||||||
&& apt update \
|
|
||||||
&& apt install -y ansible netcat tini wget \
|
|
||||||
&& wget ${APP_PACKAGE_URL} -O ${APP_FILE} \
|
|
||||||
&& wget ${APP_WRAPPER_URL} -O /usr/bin/semaphore-wrapper \
|
|
||||||
&& chmod +x /usr/bin/semaphore-wrapper \
|
|
||||||
&& (dpkg -i ${APP_FILE} || apt -f install -y) \
|
|
||||||
&& rm -rf ${APP_FILE} /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
EXPOSE 3000
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
|
||||||
CMD ["/usr/bin/semaphore-wrapper", "/usr/bin/semaphore", "--config", "/etc/semaphore/config.json"]
|
|
@ -1,13 +0,0 @@
|
|||||||
semaphore-arm64
|
|
||||||
===============
|
|
||||||
|
|
||||||
## up and running
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ docker-compose run --rm semaphore bash
|
|
||||||
>>> semaphore user add --admin --login admin --name admin --password admin --email admin@example.com
|
|
||||||
>>> git config --global pull.ff only
|
|
||||||
>>> exit
|
|
||||||
$ docker-compose up -d
|
|
||||||
$ curl http://localhost:3000
|
|
||||||
```
|
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"dialect": "bolt",
|
|
||||||
"bolt": {
|
|
||||||
"host": "/var/lib/semaphore/semaphore.bolt"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,16 +0,0 @@
|
|||||||
version: "3.8"
|
|
||||||
services:
|
|
||||||
semaphore:
|
|
||||||
image: easypi/semaphore-arm64
|
|
||||||
command: ["semaphore", "server", "--config", "/etc/semaphore/config.json"]
|
|
||||||
ports:
|
|
||||||
- "3000:3000"
|
|
||||||
volumes:
|
|
||||||
- ./data/etc:/etc/semaphore
|
|
||||||
- ./data/var:/var/lib/semaphore
|
|
||||||
tmpfs:
|
|
||||||
- /tmp
|
|
||||||
environment:
|
|
||||||
- ANSIBLE_HOST_KEY_CHECKING=False
|
|
||||||
working_dir: /etc/semaphore
|
|
||||||
restart: unless-stopped
|
|
@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
semaphore:
|
semaphore:
|
||||||
image: semaphoreui/semaphore:v2.8.90
|
image: semaphoreui/semaphore:v2.9.37
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
volumes:
|
volumes:
|
||||||
@ -11,7 +11,7 @@ services:
|
|||||||
- ./data/semaphore:/etc/semaphore
|
- ./data/semaphore:/etc/semaphore
|
||||||
environment:
|
environment:
|
||||||
#SEMAPHORE_DB_DIALECT: bolt
|
#SEMAPHORE_DB_DIALECT: bolt
|
||||||
#SEMAPHORE_DB_HOST: /var/lib/semaphore/database.boltdb
|
#SEMAPHORE_DB_PATH: /var/lib/semaphore
|
||||||
SEMAPHORE_DB_DIALECT: postgres
|
SEMAPHORE_DB_DIALECT: postgres
|
||||||
SEMAPHORE_DB_USER: semaphore
|
SEMAPHORE_DB_USER: semaphore
|
||||||
SEMAPHORE_DB_PASS: semaphore
|
SEMAPHORE_DB_PASS: semaphore
|
||||||
@ -27,7 +27,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:14-alpine
|
image: postgres:16-alpine
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user