-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move docker configs to
.docker
folder similarly to .github
workflows
- Loading branch information
1 parent
85a2f11
commit 50b7121
Showing
10 changed files
with
30 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,5 @@ services: | |
ports: | ||
- 80:80 | ||
depends_on: | ||
- local-storage-service | ||
- file-storage | ||
- job-service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,60 @@ | ||
version: '3.4' | ||
services: | ||
local-storage-service-database: | ||
build: ./database | ||
restart: always | ||
# File Storage | ||
local-storage-database: | ||
build: ./localstorage-db | ||
environment: | ||
POSTGRES_USER: ${LOCAL_STORAGE_SERVICE_DATABASE_USER} | ||
POSTGRES_PASSWORD: ${LOCAL_STORAGE_SERVICE_DATABASE_PASSWORD} | ||
POSTGRES_DB: verapdfdb | ||
volumes: | ||
- type: volume | ||
source: filestorage_database_data | ||
source: localstorage_database_data | ||
target: /var/lib/postgresql/data | ||
local-storage-service: | ||
restart: always | ||
file-storage: | ||
build: ../local-storage-service/server | ||
expose: | ||
- 8080 | ||
depends_on: | ||
- local-storage-service-database | ||
- local-storage-database | ||
environment: | ||
LOCALSTORAGE_DATABASE_USERNAME: ${LOCAL_STORAGE_SERVICE_DATABASE_USER} | ||
LOCALSTORAGE_DATABASE_PASSWORD: ${LOCAL_STORAGE_SERVICE_DATABASE_PASSWORD} | ||
LOCALSTORAGE_DATABASE_DB: verapdfdb # the same as in local-storage-service-database | ||
LOCALSTORAGE_DATABASE_HOST: local-storage-service-database | ||
LOCALSTORAGE_DATABASE_DB: verapdfdb # the same as in file-storage-database | ||
LOCALSTORAGE_DATABASE_HOST: local-storage-database | ||
LOCALSTORAGE_DATABASE_PORT: 5432 | ||
LOCALSTORAGE_DISK_MIN_SPACE_THRESHOLD: ${LOCAL_STORAGE_SERVICE_DISK_MIN_SPACE_THRESHOLD} | ||
LOCALSTORAGE_DISK_MIN_SPACE_THRESHOLD: ${LOCAL_STORAGE_SERVICE_DISK_MIN_SPACE_THRESHOLD:-5GB} | ||
LOCALSTORAGE_MAX_FILE_SIZE: 100MB | ||
LOCALSTORAGE_MAX_REQUEST_SIZE: 101MB | ||
volumes: | ||
- type: volume | ||
source: filestorage_server_files | ||
source: localstorage_server_files | ||
target: /opt/verapdf/localstorageservice/files | ||
restart: always | ||
|
||
# Job Service | ||
job-service: | ||
build: ../job-service/server | ||
expose: | ||
- 8080 | ||
restart: always | ||
|
||
rabbitmq: | ||
build: ./rabbitmq | ||
# Validation tasks queue | ||
queue: | ||
image: rabbitmq:3.8.3 | ||
expose: | ||
- 5672 | ||
restart: always | ||
environment: | ||
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER} | ||
RABBITMQ_DEFAULT_PASSWORD: ${RABBITMQ_DEFAULT_PASSWORD} | ||
RABBITMQ_DEFAULT_USER: ${AMQP_SERVER_USER} | ||
RABBITMQ_DEFAULT_PASSWORD: ${AMQP_SERVER_PASSWORD} | ||
volumes: | ||
- type: volume | ||
source: rabbitmq_database_data | ||
target: /var/lib/rabbitmq/ | ||
|
||
volumes: | ||
filestorage_database_data: | ||
filestorage_server_files: | ||
localstorage_database_data: | ||
localstorage_server_files: | ||
rabbitmq_database_data: |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.