docker-compose:
All checks were successful
build and publish docker image / deploy / build (push) Successful in 1m41s

added the file
pom.xmls: changed the articaftversion to dev for now
This commit is contained in:
2005 2024-06-01 17:56:04 +02:00
parent b668d6cecc
commit 81b6958bb2
2 changed files with 55 additions and 1 deletions

54
docker-compose.yml Normal file
View file

@ -0,0 +1,54 @@
version: "3"
networks:
learningpulse: {}
services:
eureka:
image: git.4o1x5.dev/learningpulse/server/eureka:dev
restart: always
networks:
- learningpulse
dummy:
image: git.4o1x5.dev/learningpulse/server/dummy:dev
restart: always
networks:
- learningpulse
gateway:
image: git.4o1x5.dev/learningpulse/server/gateway:dev
restart: always
ports:
- 8181:8181
networks:
- learningpulse
# TODO once implemented into gateway
# keycloak:
# container_name: keycloak
# hostname: keycloak
# image: quay.io/keycloak/keycloak:latest
# command: ["start-dev", "--import-realm"]
# ports:
# - "3212:8080"
# volumes:
# - ./realms:/opt/keycloak/data/import
# environment:
# KC_DB: ${DB_NAME}
# KC_DB_URL: ${DB_URL}
# KC_DB_USERNAME: ${DB_USERNAME}
# KC_DB_PASSWORD: ${DB_PASSWORD}
# KC_DB_SCHEMA: ${DB_SCHEMA}
# KEYCLOAK_ADMIN: admin
# KEYCLOAK_ADMIN_PASSWORD: admin
# KC_HTTP_ENABLED: true
# TODO once implemented into service(s)
# database:
# image: postgres
# restart: always
# hostname: database
# environment:
# POSTGRES_USER: ${DABATASE_USER}
# POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
# POSTGRES_DB: ${DATABASE_NAME}

View file

@ -90,7 +90,7 @@
</platforms> </platforms>
</from> </from>
<to> <to>
<image>git.4o1x5.dev/learningpulse/server/${project.artifactId}:${project.version}</image> <image>git.4o1x5.dev/learningpulse/server/${project.artifactId}:dev</image>
<auth> <auth>
<username>hydrabot</username> <username>hydrabot</username>
<password>${token}</password> <password>${token}</password>