Skip to content

Commit 661d735

Browse files
ci: update compose
1 parent 8903e65 commit 661d735

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

docker-compose.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,6 @@ services:
2020
command: ["./rusty_backend"] # Command to start the application
2121
env_file: .env
2222

23-
# postgres:
24-
# image: postgres:latest
25-
# container_name: postgres
26-
# env_file: .env
27-
# volumes:
28-
# - postgres_data:/var/lib/postgresql/data
29-
# networks:
30-
# - backend_net
31-
# ports:
32-
# - "5432:5432" # Exposing the PostgreSQL database port
33-
34-
# migration_runner:
35-
# image: rust:latest
36-
# container_name: migration_runner
37-
# command: "bash -c 'cargo install sea-orm-cli && sea-orm-cli migrate up'"
38-
# working_dir: /app
39-
# depends_on:
40-
# - postgres # Ensure migrations only run after the database is available
41-
# networks:
42-
# - backend_net
43-
# volumes:
44-
# - ./:/app # Mount project directory to /app in the container
45-
# env_file: .env
46-
4723
docker:
4824
image: docker:dind
4925
container_name: DiD

docker-compose_merged.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "2.4"
33
services:
44
# --- Rust backend & local docker (DinD) + Redis ---
55
rusty_backend:
6-
build: .
6+
image: sidharthsingh7/rusty_backend:latest
77
container_name: rusty_backend
88
working_dir: /app
99
depends_on:
@@ -118,7 +118,6 @@ services:
118118
environment:
119119
- RUST_LOG=debug
120120
- GRPC_ADDR=[::]:50051
121-
- USER_SERVICE_ADDR=http://user-service:50053
122121
- CHAT_SERVICE_ADDR=http://chat-service:50052
123122
- PER_OXO_SERVICE_ADDR=0.0.0.0:3000
124123
depends_on:

0 commit comments

Comments
 (0)