使い捨て実行環境 https://beta.fogtype.com
Find a file
drone e4c09b8f4f
All checks were successful
continuous-integration/drone/push Build is passing
Update docker:20.10.23-cli-alpine3.17 Docker digest to f5434ee
2023-02-01 01:01:54 +00:00
etc create beta project 2023-01-02 00:40:21 +09:00
example Pin caddy Docker tag to 25a0097 2023-01-01 17:01:40 +00:00
.drone.yml Update docker:20.10.23-cli-alpine3.17 Docker digest to f5434ee 2023-02-01 01:01:54 +00:00
ansible.cfg create beta project 2023-01-02 00:40:21 +09:00
compose.yml Pin portainer/portainer-ce Docker tag to 4250518 2023-01-02 03:01:44 +00:00
Dockerfile Update caddy:2.6.2-builder-alpine Docker digest to 4e33a68 2023-01-11 01:01:48 +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 を参照