加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yaml 3.02 KB
一键复制 编辑 原始数据 按行查看 历史
北野 提交于 2023-10-08 00:31 . Merge branch 'x/gorm' into r/paopao-ce
version: '3.1'
services:
db:
image: mysql:8.0
restart: always
environment:
MYSQL_DATABASE: paopao
MYSQL_USER: paopao
MYSQL_PASSWORD: paopao
MYSQL_RANDOM_ROOT_PASSWORD: yes
volumes:
- ./scripts/paopao-mysql.sql:/docker-entrypoint-initdb.d/paopao.sql
- ./custom/data/mysql/data:/var/lib/mysql
ports:
- 3306:3306
networks:
- paopao-network
# minio:
# image: bitnami/minio:latest
# restart: always
# environment:
# MINIO_ROOT_USER: minio-root-user
# MINIO_ROOT_PASSWORD: minio-root-password
# MINIO_DEFAULT_BUCKETS: paopao:public
# ports:
# - 9000:9000
# - 9001:9001
# volumes:
# - ./custom/data/minio/data:/data
# networks:
# - paopao-network
# redis:
# image: redis:7.2.1-alpine
# restart: always
# ports:
# - 6379:6379
# networks:
# - paopao-network
redis:
image: redis/redis-stack:7.2.0-v2
restart: always
ports:
- 6379:6379
- 8001:8001
environment:
REDISEARCH_ARGS: "MAXSEARCHRESULTS 5"
networks:
- paopao-network
# zinc:
# image: bitbus/zincsearch:latest
# user: zincsearch
# restart: always
# ports:
# - 4080:4080
# volumes:
# - ./custom/data/zinc/data:/data
# environment:
# ZINC_FIRST_ADMIN_USER: admin
# ZINC_FIRST_ADMIN_PASSWORD: admin
# DATA_PATH: /data
# networks:
# - paopao-network
meili:
image: getmeili/meilisearch:v1.4
restart: always
ports:
- 7700:7700
volumes:
- ./custom/data/meili/data:/meili_data
environment:
- MEILI_MASTER_KEY=paopao-meilisearch
networks:
- paopao-network
# meilisearch-ui:
# image: riccoxie/meilisearch-ui:latest
# restart: always
# ports:
# - 24900:24900
# networks:
# - paopao-network
# openobserve:
# image: public.ecr.aws/zinclabs/openobserve:latest
# restart: always
# ports:
# - 5080:5080
# volumes:
# - ./custom/data/openobserve/data:/data
# environment:
# ZO_DATA_DIR: /data
# ZO_ROOT_USER_EMAIL: root@paopao.info
# ZO_ROOT_USER_PASSWORD: paopao-ce
# networks:
# - paopao-network
# pyroscope:
# image: pyroscope/pyroscope:latest
# restart: always
# ports:
# - 4040:4040
# command:
# - 'server'
# networks:
# - paopao-network
# phpmyadmin:
# image: phpmyadmin:5.2
# depends_on:
# - db
# ports:
# - 8080:80
# environment:
# - PMA_HOST=db
# - PMA_USER=paopao
# - PMA_PASSWORD=paopao
# networks:
# - paopao-network
backend:
image: bitbus/paopao-ce:0.5
restart: always
depends_on:
- db
- redis
- meili
# modify below to reflect your custom configure
volumes:
- ./config.yaml.sample:/app/paopao-ce/config.yaml
- ./custom:/app/paopao-ce/custom
ports:
- 8008:8008
networks:
- paopao-network
networks:
paopao-network:
driver: bridge
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化