Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename docker containers #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: nge

services:
postgres:
container_name: nge-postgres
image: postgres:15
environment:
- POSTGRES_USER=netzgrafikeditor
Expand All @@ -10,6 +13,7 @@ services:


keycloak:
container_name: nge-keycloak
image: quay.io/keycloak/keycloak:23.0
# as we need to access keycloak from backend Docker container under docker internal port, we need to start Keycloak on 8081, port forwarding in Docker run is not enough
command: start-dev --import-realm --http-port 8081 --hostname localhost
Expand All @@ -23,6 +27,7 @@ services:
- KEYCLOAK_ADMIN_PASSWORD=netzgrafikeditor

keycloak-healthcheck:
container_name: nge-keycloak-healthcheck
image: busybox
depends_on:
keycloak:
Expand All @@ -36,6 +41,7 @@ services:


backend:
container_name: nge-backend
build: backend
entrypoint: /bin/bash
command: >
Expand All @@ -54,7 +60,9 @@ services:
interval: 5s
timeout: 10s
retries: 15

frontend:
container_name: nge-frontend
image: ghcr.io/schweizerischebundesbahnen/netzgrafik-editor-frontend:2.9.11
# set platform as necessary:
platform: linux/x86_64
Expand Down