update semaphore-arm64

このコミットが含まれているのは:
kev 2022-02-28 14:37:40 +08:00
コミット aa05c43964
4個のファイルの変更32行の追加33行の削除

ファイルの表示

@ -5,12 +5,12 @@
FROM debian:bullseye
MAINTAINER EasyPi Software Foundation
ENV APP_VERSION=2.8.22
ENV APP_ARCH=arm64
ENV APP_FILE=semaphore_${APP_VERSION}_linux_${APP_ARCH}.deb
ENV APP_URL=https://github.com/ansible-semaphore/semaphore
ENV 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_VERSION=2.8.53
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 \

13
semaphore/arm64/README.md ノーマルファイル
ファイルの表示

@ -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 ノーマルファイル
ファイルの表示

@ -0,0 +1,6 @@
{
"dialect": "bolt",
"bolt": {
"host": "/var/lib/semaphore/semaphore.bolt"
}
}

ファイルの表示

@ -1,36 +1,16 @@
version: "3.8"
services:
semaphore:
image: easypi/semaphore-arm64
command: ["semaphore", "server", "--config", "/etc/semaphore/config.json"]
ports:
- "3000:3000"
volumes:
- ./data/semaphore:/etc/semaphore
- ./data/etc:/etc/semaphore
- ./data/var:/var/lib/semaphore
tmpfs:
- /tmp
environment:
SEMAPHORE_DB_DIALECT: postgres
SEMAPHORE_DB_USER: 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
- ANSIBLE_HOST_KEY_CHECKING=False
working_dir: /etc/semaphore
restart: unless-stopped