使い捨て実行環境 https://beta.fogtype.com
Find a file
drone 680337facd
Some checks reported errors
continuous-integration/drone/push Build was killed
Update caddy:2.6.3-alpine Docker digest to 7784514
2023-02-10 22:01:50 +00:00
etc create beta project 2023-01-02 00:40:21 +09:00
example Update caddy:2.6.3-alpine Docker digest to 7784514 2023-02-10 22:01:50 +00:00
.drone.yml Update docker:23.0.1-cli-alpine3.17 Docker digest to 6ea6ac1 2023-02-10 19:01:50 +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.17.0 2023-02-06 21:01:53 +00:00
Dockerfile Update caddy:2.6.3-alpine Docker digest to 7784514 2023-02-10 22:01:50 +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 を参照