⬆️ Save progress and say goodbye

This commit is contained in:
2025-09-17 00:57:24 +08:00
parent 71fe2a30e7
commit 3d47b4e44e
15 changed files with 564 additions and 126 deletions

View File

@@ -1,86 +0,0 @@
services:
etcd:
image: bitnami/etcd:latest
ports:
- "2379:2379"
- "2380:2380"
environment:
- ETCD_ADVERTISE_CLIENT_URLS=http://etcd:2379
- ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379
- ETCD_LISTEN_PEER_URLS=http://0.0.0.0:2380
- ETCD_INITIAL_ADVERTISE_PEER_URLS=http://etcd:2380
- ETCD_INITIAL_CLUSTER_TOKEN=etcd-cluster
- ETCD_INITIAL_CLUSTER_STATE=new
- ETCD_INITIAL_CLUSTER=etcd=http://etcd:2380
healthcheck:
test: ["CMD", "etcdctl", "get", "/health"]
interval: 5s
timeout: 5s
retries: 5
gateway:
image: xsheep2010/dyson-gateway:latest
ports:
- "8000:8080"
environment:
- ConnectionStrings__Etcd=http://etcd:2379
- Etcd__Insecure=true
- Service__Name=DysonNetwork.Gateway
- Service__Url=http://gateway:8080
depends_on:
etcd:
condition: service_healthy
drive:
image: xsheep2010/dyson-drive:latest
ports:
- "8001:8080"
environment:
- ConnectionStrings__Etcd=http://etcd:2379
- Etcd__Insecure=true
- Service__Name=DysonNetwork.Drive
- Service__Url=http://drive:8080
depends_on:
etcd:
condition: service_healthy
pass:
image: xsheep2010/dyson-pass:latest
ports:
- "8002:8080"
environment:
- ConnectionStrings__Etcd=http://etcd:2379
- Etcd__Insecure=true
- Service__Name=DysonNetwork.Pass
- Service__Url=http://pass:8080
depends_on:
etcd:
condition: service_healthy
ring:
image: xsheep2010/dyson-ring:latest
ports:
- "8003:8080"
environment:
- ConnectionStrings__Etcd=http://etcd:2379
- Etcd__Insecure=true
- Service__Name=DysonNetwork.Ring
- Service__Url=http://ring:8080
depends_on:
etcd:
condition: service_healthy
sphere:
image: xsheep2010/dyson-sphere:latest
ports:
- "8004:8080"
environment:
- ConnectionStrings__Etcd=http://etcd:2379
- Etcd__Insecure=true
- Service__Name=DysonNetwork.Sphere
- Service__Url=http://sphere:8080
volumes:
- "./keys:/app/keys"
depends_on:
etcd:
condition: service_healthy