使い捨て実行環境 https://beta.fogtype.com
Find a file
Nebel 5010ed3788
All checks were successful
continuous-integration/drone/push Build is passing
Update docker:20.10.22-cli-alpine3.17 Docker digest to fde7a4a
2023-01-05 22:03:03 +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.22-cli-alpine3.17 Docker digest to fde7a4a 2023-01-05 22:03:03 +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 Pin dependencies 2023-01-01 16:01:38 +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 を参照