使い捨て実行環境 https://beta.fogtype.com
Find a file
Nebel ec380b6c3a
All checks were successful
continuous-integration/drone/push Build is passing
Update caddy:2.7.4-builder-alpine Docker digest to 49505e7
2023-09-06 20:02:21 +00:00
etc create beta project 2023-01-02 00:40:21 +09:00
example Update caddy:2.7.4-alpine Docker digest to 7e01c08 2023-08-18 00:02:15 +00:00
.drone.yml Update docker Docker tag to v23.0.6 2023-05-09 19:02:37 +00:00
ansible.cfg create beta project 2023-01-02 00:40:21 +09:00
compose.yml Update portainer/portainer-ce:2.19.0-alpine Docker digest to c4dc362 2023-09-01 00:04:13 +00:00
Dockerfile Update caddy:2.7.4-builder-alpine Docker digest to 49505e7 2023-09-06 20:02:21 +00:00
LICENSE create beta project 2023-01-02 00:40:21 +09:00
README.md add usage and example 2023-01-02 01:15:17 +09:00
renovate.json create beta project 2023-01-02 00:40:21 +09:00
setup.yml create beta project 2023-01-02 00:40:21 +09:00

β

beta.fogtype.com
使い捨て実行環境

Usage

  1. beta.fogtype.com に SSH でアクセス
  2. caddycaddy.reverse_proxy ラベルを与えて Docker コンテナを実行
    • 例: --label=caddy=example.beta.fogtype.com --label=caddy.reverse_proxy={{upstreams}}
  3. caddy ネットワークにアタッチ

詳しい使い方は caddy-docker-proxy を参照

Example

example/compose.yml

docker context create --docker=host=ssh://ubuntu@beta.fogtype.com beta
docker context use beta
docker compose --project-directory=example up -d

Setup

sudo apt install ansible
ansible-playbook setup.yml

詳しい構成は setup.yml を参照