代码拉取完成,页面将自动刷新
同步操作将从 openKylin-backup/foreman 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3.4'
services:
db:
environment:
- POSTGRES_USER=foreman
- POSTGRES_PASSWORD=foreman
- POSTGRES_DATABASE=foreman
- PGDATA=/var/lib/postgresql/data/pgdata
hostname: db.example.com
image: postgres:10
ports:
- 5432
restart: always
healthcheck:
test: ["CMD-SHELL", "nc -z 127.0.0.1 5432 || exit 1"]
interval: 30s
timeout: 30s
retries: 3
volumes:
- db:/var/lib/postgresql/data
app: &app_base
image: quay.io/foreman/foreman:develop
command: bundle exec bin/rails server -b 0.0.0.0
build:
context: .
environment:
- DATABASE_URL=postgres://foreman:foreman@db/foreman?pool=5
- RAILS_MAX_THREADS=5
- RAILS_ENV=production
- FOREMAN_FQDN=foreman.example.com
- FOREMAN_DOMAIN=example.com
- FOREMAN_RAILS_CACHE_STORE_TYPE=redis
- FOREMAN_RAILS_CACHE_STORE_URLS=redis://redis:6379/0
- DYNFLOW_REDIS_URL=redis://redis-tasks:6379/0
- REDIS_PROVIDER=DYNFLOW_REDIS_URL
hostname: foreman.example.com
links:
- db
- redis-cache
- redis-tasks
ports:
- "${MY_DOCKER_IP:-127.0.0.1}:3000:3000"
- "${MY_DOCKER_IP:-127.0.0.1}:5910-5930:5910-5930"
restart: always
healthcheck:
test: ["CMD-SHELL", "nc -z 127.0.0.1 3000 || exit 1"]
interval: 5m
start_period: 1m
orchestrator:
<<: *app_base
command: bundle exec sidekiq -r ./extras/dynflow-sidekiq.rb -c 1 -q dynflow_orchestrator
hostname: orchestrator.example.com
ports: []
worker:
<<: *app_base
command: bundle exec sidekiq -r ./extras/dynflow-sidekiq.rb -c 15 -q default,remote_execution
ports: []
redis-cache:
image: redis
redis-tasks:
image: redis
command: redis-server --appendonly yes
volumes:
- redis-persistent:/data
volumes:
db:
redis-persistent:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。