Skip to content

Commit

Permalink
ci: docker composer now builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Valdes committed Dec 21, 2024
1 parent 682d477 commit 83c2344
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.click-persister
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions Dockerfile.click-server
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions Dockerfile.tile-syncer-robot
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions Dockerfile.watchguard-robot
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ services:
retries: 3

click-server:
build:
context: ./
dockerfile: Dockerfile.click-server
image: clickplanet/click-server:latest
environment:
- RUST_LOG=debug
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 83c2344

Please sign in to comment.