赞
踩
cat docker-compose.yml
version: '2'
services:
# docker run -tid --name baota -p 80:80 -p 443:443 -p 8888:8888 -p 888:888
# --privileged=true --shm-size=1g
# --restart always
# -v ~/wwwroot:/www/wwwroot pch18/baota
coinbank_baota:
image: pch18/baota
container_name: coinbank_baota
restart: always
environment:
- privileged=true
- shm-size=1g
volumes:
- ./wwwroot:/www/wwwroot
ports:
- 80:80
- 443:443
- 8888:8888
- 888:888
networks:
coin_bank:
ipv4_address: 10.0.18.10
coinbank_es00:
image: elasticsearch:7.13.2
container_name: coinbank_es00
restart: always
ports:
- 9200:9200
- 9300:9300
environment:
- discovery.type=single-node
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。