代码拉取完成,页面将自动刷新
同步操作将从 Kaiwenwang/miso-lims开源lims系统 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3.7'
################################################################################
# Builds and brings up a MISO LIMS environment in detailed sample mode.
#
# Intended for testing the current version of the MISO codebase.
# NOT INTENDED FOR PRODUCTION USE.
# See the docs for more information: https://miso-lims.github.io/miso-lims/
#
# Environment variables must be provided for this file to work.
# The .env file or shell environment variables contain:
# the following:
# * MISO_DB_USER : name of the MySQL user who accesses MISO_DB [tgaclims]
# * MISO_DB : name of the LIMS Db in MySql [lims]
# * MISO_DB_PASSWORD_FILE : path to the file with the password to the MySQL DB for user MISO_DB_USER
#
################################################################################
# USAGE : run in cloned miso-lims repository
#
# echo "changeme" > ./.miso_db_password
# docker-compose -f docker-compose.detailed.yml build
# docker-compose -f docker-compose.detailed.yml up
################################################################################
# Code available at https://github.com/miso-lims/miso-lims under GPL-3.0
################################################################################
secrets:
lims_password:
file: ${MISO_DB_PASSWORD_FILE}
services:
db:
image: mysql:5.7.25
restart: always
environment:
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
MYSQL_DATABASE: ${MISO_DB}
MYSQL_USER: ${MISO_DB_USER}
MYSQL_PASSWORD_FILE: /run/secrets/lims_password
secrets:
- lims_password
flyway:
build:
context: .
target: flyway-migration
command: migrate
secrets:
- lims_password
links:
- db
depends_on:
- db
volumes:
- type: bind
source: "./.docker/detailed_sample_config/V0792__drop-inconvenient-rows.sql"
target: "/flyway/sql/V0792__drop-inconvenient-rows.sql"
volume:
nocopy: true
- type: bind
source: "./.docker/detailed_sample_config/V0793__detailed_sample_data.sql"
target: "/flyway/sql/V0793__detailed_sample_data.sql"
volume:
nocopy: true
webapp:
build:
context: .
target: webapp
restart: always
secrets:
- lims_password
links:
- db
depends_on:
- db
volumes:
- type: bind
source: "./.docker/detailed_sample_config/miso.properties"
target: "/usr/local/tomcat/conf/Catalina/localhost/miso.properties"
volume:
nocopy: true
nginx:
image: nginx:1.15.12-alpine
ports:
- "80:80"
volumes:
- type: bind
source: "./.docker/nginx/http.conf"
target: "/etc/nginx/conf.d/default.conf"
volume:
nocopy: true
links:
- webapp
depends_on:
- webapp
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。