Skip to content

Commit

Permalink
chore: update docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxiaohei committed Mar 27, 2024
1 parent e7fc482 commit d2d7d83
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
LAND_SERVER_TOKEN=aabbccdd
LAND_DATA_DIR=/data/runtime-land
LAND_DATA_DIR=/data/runtime-land
2 changes: 0 additions & 2 deletions deploy/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ services:
- LAND_SERVICE_NAME=land-worker@docker
- LAND_DATA_DIR=/data/runtime-land
ports:
- "8866:8866"
- "9000:9000"
networks:
- runtime_land_network
Expand All @@ -36,4 +35,3 @@ services:
labels:
- traefik.enable=true
- traefik.http.services.land-worker.loadbalancer.server.port=8866
- traefik.http.services.land-worker-metrics.loadbalancer.server.port=9000
1 change: 1 addition & 0 deletions land-worker/src/agent/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pub async fn get() -> ConfData {

/// start starts the sync loop
pub async fn start(interval: u64, addr: String, token: String, dir: String) {
info!("Center addr:{}", addr);
tokio::spawn(async move {
let mut ticker = tokio::time::interval(tokio::time::Duration::from_secs(interval));
loop {
Expand Down

0 comments on commit d2d7d83

Please sign in to comment.