Skip to content
Snippets Groups Projects
Unverified Commit f444b9c5 authored by Martin Weise's avatar Martin Weise
Browse files

Updated prod file

parent 0015d591
No related branches found
No related tags found
4 merge requests!231CI: Remove build for log-service,!228Better error message handling in the frontend,!223Release of version 1.4.0,!191Fixed the DataCite issue of minting new dois
...@@ -7,6 +7,7 @@ version: "3.6" ...@@ -7,6 +7,7 @@ version: "3.6"
volumes: volumes:
metadata-db-data: metadata-db-data:
data-db-data: data-db-data:
auth-db-data:
upload-service-data: upload-service-data:
search-db-data: search-db-data:
broker-service-data: broker-service-data:
...@@ -32,16 +33,21 @@ services: ...@@ -32,16 +33,21 @@ services:
restart: "no" restart: "no"
container_name: dbrepo-metadata-db container_name: dbrepo-metadata-db
hostname: metadata-db hostname: metadata-db
image: dbrepo/metadata-db:1.3 image: dbrepo/metadata-db:latest
networks: networks:
core: core:
volumes: volumes:
- metadata-db-data:/var/lib/mysql - metadata-db-data:/bitnami/mariadb
- ./setup-schema_local.sql:/docker-entrypoint-initdb.d/setup-schema_local.sql - ./setup-schema_local.sql:/docker-entrypoint-initdb.d/setup-schema_local.sql
ports: ports:
- "3306:3306" - "3306:3306"
env_file: env_file:
- .env - .env
healthcheck:
test: mysqladmin ping --user="$METADATA_USERNAME" --password="$METADATA_PASSWORD" --silent
interval: 10s
timeout: 5s
retries: 12
logging: logging:
driver: json-file driver: json-file
...@@ -53,11 +59,10 @@ services: ...@@ -53,11 +59,10 @@ services:
networks: networks:
core: core:
volumes: volumes:
- data-db-data:/var/lib/mysql - data-db-data:/bitnami/mariadb
- "${SHARED_FILESYSTEM}:/tmp" - "${SHARED_FILESYSTEM}:/tmp"
ports: ports:
- "3307:3306" - "3307:3306"
- "9101:9100"
env_file: env_file:
- .env - .env
environment: environment:
...@@ -70,11 +75,37 @@ services: ...@@ -70,11 +75,37 @@ services:
logging: logging:
driver: json-file driver: json-file
dbrepo-auth-db:
restart: "no"
container_name: dbrepo-auth-db
hostname: auth-db
image: bitnami/mariadb:10.5
networks:
core:
volumes:
- auth-db-data:/bitnami/mariadb
ports:
- "3308:3306"
env_file:
- .env
environment:
- MARIADB_ROOT_PASSWORD=$AUTH_PASSWORD
- MARIADB_DATABASE=$AUTH_DB
healthcheck:
test: mysqladmin ping --user="$AUTH_USERNAME" --password="$AUTH_PASSWORD" --silent
interval: 10s
timeout: 5s
retries: 12
logging:
driver: json-file
dbrepo-upload-service: dbrepo-upload-service:
restart: "no" restart: "no"
container_name: dbrepo-upload-service container_name: dbrepo-upload-service
hostname: upload-service hostname: upload-service
image: tusproject/tusd:v1.12 image: tusproject/tusd:v1.12
command:
- "--base-path=/api/upload/files/"
networks: networks:
core: core:
env_file: env_file:
...@@ -82,8 +113,6 @@ services: ...@@ -82,8 +113,6 @@ services:
volumes: volumes:
- upload-service-data:/data - upload-service-data:/data
- "${SHARED_FILESYSTEM}:/srv/tusd-data/data" - "${SHARED_FILESYSTEM}:/srv/tusd-data/data"
ports:
- "1080:1080"
logging: logging:
driver: json-file driver: json-file
...@@ -91,7 +120,7 @@ services: ...@@ -91,7 +120,7 @@ services:
restart: "no" restart: "no"
container_name: dbrepo-authentication-service container_name: dbrepo-authentication-service
hostname: authentication-service hostname: authentication-service
image: dbrepo/authentication-service:1.3 image: dbrepo/authentication-service:latest
networks: networks:
core: core:
ports: ports:
...@@ -111,11 +140,13 @@ services: ...@@ -111,11 +140,13 @@ services:
restart: "no" restart: "no"
container_name: dbrepo-metadata-service container_name: dbrepo-metadata-service
hostname: metadata-service hostname: metadata-service
image: dbrepo/metadata-service:1.3 image: dbrepo/metadata-service:latest
networks: networks:
core: core:
env_file: env_file:
- .env - .env
volumes:
- "${SHARED_FILESYSTEM}:/tmp"
ports: ports:
- "9099:9099" - "9099:9099"
healthcheck: healthcheck:
...@@ -137,7 +168,7 @@ services: ...@@ -137,7 +168,7 @@ services:
restart: "no" restart: "no"
container_name: dbrepo-analyse-service container_name: dbrepo-analyse-service
hostname: analyse-service hostname: analyse-service
image: dbrepo/analyse-service:1.3 image: dbrepo/analyse-service:latest
networks: networks:
core: core:
ports: ports:
...@@ -153,7 +184,7 @@ services: ...@@ -153,7 +184,7 @@ services:
restart: "no" restart: "no"
container_name: dbrepo-broker-service container_name: dbrepo-broker-service
hostname: broker-service hostname: broker-service
image: dbrepo/broker-service:1.3 image: dbrepo/broker-service:latest
networks: networks:
core: core:
ports: ports:
...@@ -181,13 +212,15 @@ services: ...@@ -181,13 +212,15 @@ services:
env_file: env_file:
- .env - .env
healthcheck: healthcheck:
test: curl -s http://search-db:9200 > /dev/null || exit 1 test: curl -s localhost:9200/_cat/indices || exit 1
interval: 10s
timeout: 5s
retries: 12
environment: environment:
discovery.type: "single-node" discovery.type: "single-node"
ES_JAVA_OPTS: "-Xms4g -Xmx4g" ES_JAVA_OPTS: "-Xms4g -Xmx4g"
logger.level: "WARN" logger.level: "WARN"
plugins.security.disabled: "true" plugins.security.disabled: "true"
bootstrap.memory_lock: "true"
deploy: deploy:
resources: resources:
limits: limits:
...@@ -201,7 +234,7 @@ services: ...@@ -201,7 +234,7 @@ services:
restart: "no" restart: "no"
container_name: dbrepo-ui container_name: dbrepo-ui
hostname: ui hostname: ui
image: dbrepo/ui:1.3 image: dbrepo/ui:latest
networks: networks:
core: core:
public: public:
......
...@@ -82,7 +82,7 @@ services: ...@@ -82,7 +82,7 @@ services:
restart: "no" restart: "no"
container_name: dbrepo-auth-db container_name: dbrepo-auth-db
hostname: auth-db hostname: auth-db
image: mariadb:10.5 image: bitnami/mariadb:10.5
networks: networks:
core: core:
volumes: volumes:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment