1 Star 0 Fork 9

idealzhang/miso-lims开源lims系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.plain.yml 2.09 KB
一键复制 编辑 原始数据 按行查看 历史
Dillan Cooke 提交于 2020-05-21 15:48 . Prepared for release
version: '3.7'
################################################################################
# Builds and brings up a MISO LIMS environment in plain 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 build && docker-compose 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
webapp:
build:
context: .
target: webapp
restart: always
secrets:
- lims_password
links:
- db
depends_on:
- db
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/idealzhang/open-lims.git
git@gitee.com:idealzhang/open-lims.git
idealzhang
open-lims
miso-lims开源lims系统
master

搜索帮助