mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-06 23:26:17 +02:00
update semaphore-arm64
This commit is contained in:
parent
c46da2da41
commit
aa05c43964
@ -5,12 +5,12 @@
|
|||||||
FROM debian:bullseye
|
FROM debian:bullseye
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
ENV APP_VERSION=2.8.22
|
ARG APP_VERSION=2.8.53
|
||||||
ENV APP_ARCH=arm64
|
ARG APP_ARCH=arm64
|
||||||
ENV APP_FILE=semaphore_${APP_VERSION}_linux_${APP_ARCH}.deb
|
ARG APP_FILE=semaphore_${APP_VERSION}_linux_${APP_ARCH}.deb
|
||||||
ENV APP_URL=https://github.com/ansible-semaphore/semaphore
|
ARG APP_URL=https://github.com/ansible-semaphore/semaphore
|
||||||
ENV APP_PACKAGE_URL=${APP_URL}/releases/download/v${APP_VERSION}/${APP_FILE}
|
ARG APP_PACKAGE_URL=${APP_URL}/releases/download/v${APP_VERSION}/${APP_FILE}
|
||||||
ENV APP_WRAPPER_URL=${APP_URL}/raw/v${APP_VERSION}/deployment/docker/common/semaphore-wrapper
|
ARG APP_WRAPPER_URL=${APP_URL}/raw/v${APP_VERSION}/deployment/docker/common/semaphore-wrapper
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apt update \
|
&& apt update \
|
||||||
|
13
semaphore/arm64/README.md
Normal file
13
semaphore/arm64/README.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
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
|
||||||
|
```
|
6
semaphore/arm64/data/etc/config.json
Normal file
6
semaphore/arm64/data/etc/config.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"dialect": "bolt",
|
||||||
|
"bolt": {
|
||||||
|
"host": "/var/lib/semaphore/semaphore.bolt"
|
||||||
|
}
|
||||||
|
}
|
@ -1,36 +1,16 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
semaphore:
|
semaphore:
|
||||||
image: easypi/semaphore-arm64
|
image: easypi/semaphore-arm64
|
||||||
|
command: ["semaphore", "server", "--config", "/etc/semaphore/config.json"]
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/semaphore:/etc/semaphore
|
- ./data/etc:/etc/semaphore
|
||||||
|
- ./data/var:/var/lib/semaphore
|
||||||
|
tmpfs:
|
||||||
|
- /tmp
|
||||||
environment:
|
environment:
|
||||||
SEMAPHORE_DB_DIALECT: postgres
|
- ANSIBLE_HOST_KEY_CHECKING=False
|
||||||
SEMAPHORE_DB_USER: semaphore
|
working_dir: /etc/semaphore
|
||||||
SEMAPHORE_DB_PASS: semaphore
|
|
||||||
SEMAPHORE_DB_HOST: postgres
|
|
||||||
SEMAPHORE_DB_PORT: 5432
|
|
||||||
SEMAPHORE_DB: semaphore?sslmode=disable
|
|
||||||
SEMAPHORE_ADMIN: admin
|
|
||||||
SEMAPHORE_ADMIN_NAME: admin
|
|
||||||
SEMAPHORE_ADMIN_PASSWORD: admin
|
|
||||||
SEMAPHORE_ADMIN_EMAIL: admin@localhost
|
|
||||||
depends_on:
|
|
||||||
- postgres
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
postgres:
|
|
||||||
image: postgres:14-alpine
|
|
||||||
ports:
|
|
||||||
- "5432:5432"
|
|
||||||
volumes:
|
|
||||||
- ./data/postgres:/var/lib/postgresql/data
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: semaphore
|
|
||||||
POSTGRES_PASSWORD: semaphore
|
|
||||||
POSTGRES_DB: semaphore
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
Loading…
x
Reference in New Issue
Block a user