diff --git a/dev/docker-compose.yml b/dev/docker-compose.yml index 6ccbcc2d9..828cce8d2 100644 --- a/dev/docker-compose.yml +++ b/dev/docker-compose.yml @@ -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