diff --git a/compose.yaml b/compose.yaml index 70cac91b..3c2cabb8 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,14 +2,15 @@ services: application-server: image: hephaestus-application-server ports: - - '3000:3000' + - '8080' environment: + - SERVICE_FQDN_SERVER - SPRING_PROFILES_ACTIVE=prod - DATABASE_URL=jdbc:postgresql://postgres:5432/hephaestus - DATABASE_USERNAME=root - DATABASE_PASSWORD=root - - SECURITY_USER_NAME=$SECURITY_USER_NAME - - SECURITY_USER_PASSWORD=$SECURITY_USER_PASSWORD + - SECURITY_USER_NAME=${SECURITY_USER_NAME:-admin} + - SECURITY_USER_PASSWORD=${SECURITY_USER_NAME:-admin_password} depends_on: - postgres