update semaphore-arm64
このコミットが含まれているのは:
コミット
aa05c43964
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
```
|
|
@ -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
|
||||
|
|
読み込み中…
新しいイシューから参照