Skip to content

Commit 624f893

Browse files
committed
backup
1 parent 19083af commit 624f893

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ run_service: $(addprefix $(SCRATCH_DIR)/,$(COMMON_DIRS)) service_containers
184184
# if you want to run the frontend yourself - outside the docker environment
185185
.PHONY: run_service_no_frontend
186186
run_service_no_frontend: service_containers_no_frontend
187-
$(CONTAINER_COMPOSE_EXECUTABLE) -f service/docker-compose.yml up backend fauxauth worker composer minio postgres_backend postgres_composer
187+
$(CONTAINER_COMPOSE_EXECUTABLE) -f service/docker-compose.yml up backend fauxauth worker composer minio postgres_image_builder_crc postgres_composer
188188

189189
# only for strange crashes - should shut down properly in normal operation
190190
.PHONY: stop_service

service/docker-compose.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424
- ../../osbuild-composer/repositories:/config/repositories:z
2525

2626
postgres_composer:
27-
image: docker.io/postgres:10.5
27+
image: docker.io/postgres:16.8
2828
healthcheck:
2929
test: [ "CMD", "pg_isready", "-h", "localhost", "-U", "postgres", "-d", "postgres" ]
3030
interval: 2s
@@ -115,8 +115,8 @@ services:
115115
extra_hosts:
116116
- "host.docker.internal:host-gateway"
117117

118-
postgres_backend:
119-
image: docker.io/postgres:10.5
118+
postgres_image_builder_crc:
119+
image: docker.io/postgres:16.8
120120
healthcheck:
121121
test: [ "CMD", "pg_isready", "-h", "localhost", "-U", "postgres", "-d", "postgres" ]
122122
interval: 2s
@@ -131,7 +131,7 @@ services:
131131
servicenet:
132132
ipv4_address: 172.31.0.30
133133

134-
backend:
134+
image_builder_crc:
135135
image: image-builder-crc_dev
136136
ports:
137137
- 8086:8086
@@ -144,10 +144,10 @@ services:
144144
volumes:
145145
- config_volume:/etc/image-builder
146146
environment:
147-
- LISTEN_ADDRESS=backend:8086
147+
- LISTEN_ADDRESS=image_builder_crc:8086
148148
- LOG_LEVEL=DEBUG
149149
- ALLOWED_ORG_IDS=*
150-
- PGHOST=postgres_backend
150+
- PGHOST=postgres_image_builder_crc
151151
- PGPORT=5432
152152
- PGDATABASE=postgres
153153
- PGUSER=postgres
@@ -167,7 +167,7 @@ services:
167167
condition: service_completed_successfully
168168
composer:
169169
condition: service_healthy
170-
postgres_backend:
170+
postgres_image_builder_crc:
171171
condition: service_healthy
172172
restart: on-failure
173173
networks:
@@ -219,7 +219,7 @@ services:
219219
security_opt:
220220
- seccomp=unconfined
221221
environment:
222-
- BACKEND_HOSTNAME=backend
222+
- BACKEND_HOSTNAME=image_builder_crc
223223
ports:
224224
- 1337:1337
225225
- 8002:8002

0 commit comments

Comments
 (0)