From 83c23440ab3fd14cbfb87a2ee7ab9ef1f146119f Mon Sep 17 00:00:00 2001 From: Laurent Valdes Date: Sat, 21 Dec 2024 21:39:56 +0100 Subject: [PATCH] ci: docker composer now builds --- Dockerfile.click-persister | 1 + Dockerfile.click-server | 1 + Dockerfile.tile-syncer-robot | 1 + Dockerfile.watchguard-robot | 1 + docker-compose.yml | 9 +++++++++ 5 files changed, 13 insertions(+) diff --git a/Dockerfile.click-persister b/Dockerfile.click-persister index 610995e..e5b26a3 100644 --- a/Dockerfile.click-persister +++ b/Dockerfile.click-persister @@ -14,6 +14,7 @@ COPY clickplanet-client/ ./clickplanet-client/ COPY clickplanet-robot/ ./clickplanet-robot/ COPY clickplanet-server/ ./clickplanet-server/ COPY clickplanet-proto/ ./clickplanet-proto/ +COPY clickplanet-webapp/ ./clickplanet-webapp/ RUN cargo build --release --bin state-click-persister diff --git a/Dockerfile.click-server b/Dockerfile.click-server index 1114eca..989e020 100644 --- a/Dockerfile.click-server +++ b/Dockerfile.click-server @@ -14,6 +14,7 @@ COPY clickplanet-client/ ./clickplanet-client/ COPY clickplanet-robot/ ./clickplanet-robot/ COPY clickplanet-server/ ./clickplanet-server/ COPY clickplanet-proto/ ./clickplanet-proto/ +COPY clickplanet-webapp/ ./clickplanet-webapp/ RUN cargo build --release --bin click-server diff --git a/Dockerfile.tile-syncer-robot b/Dockerfile.tile-syncer-robot index 37aaeb4..9c29450 100644 --- a/Dockerfile.tile-syncer-robot +++ b/Dockerfile.tile-syncer-robot @@ -13,6 +13,7 @@ COPY clickplanet-client/ ./clickplanet-client/ COPY clickplanet-robot/ ./clickplanet-robot/ COPY clickplanet-server/ ./clickplanet-server/ COPY clickplanet-proto/ ./clickplanet-proto/ +COPY clickplanet-webapp/ ./clickplanet-webapp/ RUN cargo build --release --bin tile-syncer diff --git a/Dockerfile.watchguard-robot b/Dockerfile.watchguard-robot index 449ad52..0d62852 100644 --- a/Dockerfile.watchguard-robot +++ b/Dockerfile.watchguard-robot @@ -14,6 +14,7 @@ COPY clickplanet-client/ ./clickplanet-client/ COPY clickplanet-robot/ ./clickplanet-robot/ COPY clickplanet-server/ ./clickplanet-server/ COPY clickplanet-proto/ ./clickplanet-proto/ +COPY clickplanet-webapp/ ./clickplanet-webapp/ RUN cargo build --release --bin country-watchguard diff --git a/docker-compose.yml b/docker-compose.yml index 6d0e640..771292c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,6 +52,9 @@ services: retries: 3 click-server: + build: + context: ./ + dockerfile: Dockerfile.click-server image: clickplanet/click-server:latest environment: - RUST_LOG=debug @@ -74,6 +77,9 @@ services: condition: service_started state-click-persister: + build: + context: ./ + dockerfile: Dockerfile.click-persister image: clickplanet/state-click-persister:latest environment: - RUST_LOG=debug @@ -96,6 +102,9 @@ services: condition: service_started tile-syncer: + build: + context: ./ + dockerfile: Dockerfile.tile-syncer-robot image: clickplanet/tile-syncer:latest environment: - RUST_LOG=debug