使い捨て実行環境 https://beta.fogtype.com
Find a file
Nebel 4b84869afc
All checks were successful
continuous-integration/drone/push Build is passing
Update caddy:2.7.5-builder-alpine Docker digest to 3e02321
2023-12-05 22:02:08 +00:00
etc create beta project 2023-01-02 00:40:21 +09:00
example Update caddy:2.7.5-alpine Docker digest to 9821d1e 2023-12-01 09: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 Docker tag to v2.19.4 2023-12-05 20:02:51 +00:00
Dockerfile Update caddy:2.7.5-builder-alpine Docker digest to 3e02321 2023-12-05 22:02:08 +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 を参照