代码拉取完成,页面将自动刷新
version: '3'
services:
db:
hostname: db
image: mysql:5
command: --default-authentication-plugin=mysql_native_password
restart: always
# volumes:
# - ../data/mysql/data:/var/lib/mysql
# - ../data/mysql/conf:/etc/mysql/conf.d
# - ../data/mysql/initdb:/docker-entrypoint-initdb.d
ports:
- 3306:3306
environment:
MYSQL_DATABASE: starter
MYSQL_ROOT_PASSWORD: root
db_admin:
image: adminer:latest
restart: always
ports:
- 3006:8080
depends_on:
- db
cache:
hostname: cache
image: redis:4
command: redis-server --appendonly yes
restart: always
ports:
- 6379:6379
mq:
hostname: mq
image: webcenter/activemq:latest
restart: always
ports:
- 61616:61616
- 61613:61613
- 8161:8161
api:
hostname: api
image: registry.cn-shanghai.aliyuncs.com/jext/starter_api:latest
restart: always
# volumes:
# - ../data/files:/tmp/files
ports:
- 8011:8011
depends_on:
- db
- cache
- mq
admin:
image: starter_admin:latest
build:
context: .
dockerfile: Dockerfile_ce
restart: always
ports:
- 8010:8010
depends_on:
- api
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。