Skip to content

Commit

Permalink
TRY-321: also build compreface admin image (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-kripakov-m10 authored Apr 29, 2024
1 parent 7adfadf commit e7b9151
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,30 @@ services:
# volumes:
# - postgres-data:/var/lib/postgresql/data

# compreface-admin:
# image: ${registry}compreface-admin:${ADMIN_VERSION}
# restart: always
# build:
# context: ../java
# dockerfile: ../dev/Dockerfile
# target: frs_crud
# container_name: "compreface-admin"
# ports:
# - "8081:8080"
# - "5006:5005"
# environment:
# - POSTGRES_USER=${postgres_username}
# - POSTGRES_PASSWORD=${postgres_password}
# - POSTGRES_URL=jdbc:postgresql://${postgres_domain}:${postgres_port}/${postgres_db}
# - SPRING_PROFILES_ACTIVE=dev
# - ENABLE_EMAIL_SERVER=${enable_email_server}
# - EMAIL_HOST=${email_host}
# - EMAIL_USERNAME=${email_username}
# - EMAIL_FROM=${email_from}
# - EMAIL_PASSWORD=${email_password}
# - ADMIN_JAVA_OPTS=${compreface_admin_java_options}
# - MAX_FILE_SIZE=${max_file_size}
# - MAX_REQUEST_SIZE=${max_request_size}B
compreface-admin:
image: ${registry}compreface-admin:${ADMIN_VERSION}
restart: always
build:
context: ../java
dockerfile: ../dev/Dockerfile
target: frs_crud
container_name: "compreface-admin"
ports:
- "8081:8080"
- "5006:5005"
environment:
- POSTGRES_USER=${postgres_username}
- POSTGRES_PASSWORD=${postgres_password}
- POSTGRES_URL=jdbc:postgresql://${postgres_domain}:${postgres_port}/${postgres_db}
- SPRING_PROFILES_ACTIVE=dev
- ENABLE_EMAIL_SERVER=${enable_email_server}
- EMAIL_HOST=${email_host}
- EMAIL_USERNAME=${email_username}
- EMAIL_FROM=${email_from}
- EMAIL_PASSWORD=${email_password}
- ADMIN_JAVA_OPTS=${compreface_admin_java_options}
- MAX_FILE_SIZE=${max_file_size}
- MAX_REQUEST_SIZE=${max_request_size}B
# depends_on:
# - compreface-postgres-db
# - compreface-api
Expand Down

0 comments on commit e7b9151

Please sign in to comment.