sync: 2022-10-20 14:03:44 +0000

This commit is contained in:
mosasauroidea-bot
2022-10-20 14:03:44 +00:00
parent b30a2c3963
commit ded45286f0
4 changed files with 5 additions and 21 deletions

View File

@@ -2,7 +2,8 @@ version: '3'
services:
web:
image: gpw-web
build: .
platform: linux/amd64
container_name: gpw-web
ports:
- 9000:80
@@ -52,6 +53,7 @@ services:
manticoresearch:
build: ./.docker/manticore
platform: linux/amd64
container_name: gpw-manticoresearch
depends_on:
- mysql

View File

@@ -11,13 +11,6 @@
git clone https://github.com/Mosasauroidea/GazellePW.git
cd GazellePW
# Build Docker image
# For x86 CPU
docker build -t gpw-web:latest .
# For ARM CPU (Macbook M1)
docker buildx create --use
docker buildx build --platform linux/amd64 --load -t gpw-web:latest .
# Start
docker-compose -p gazelle up
```

View File

@@ -7,12 +7,8 @@
2. Execute-o
```shell
# Construir imagem do Docker
# Para CPU x86
docker build -t gpw-web:latest .
# Para CPU ARM (Macbook M1)
docker buildx create --use
docker buildx build --platform linux/amd64 --load -t gpw-web:latest .
git clone https://github.com/Mosasauroidea/GazellePW.git
cd GazellePW
# Iniciar container
docker-compose -p gazelle up

View File

@@ -11,13 +11,6 @@
git clone https://github.com/Mosasauroidea/GazellePW.git
cd GazellePW
# 创建Docker镜像
# x86 处理器
docker build -t gpw-web:latest .
# ARM 处理器 (Macbook M1)
docker buildx create --use
docker buildx build --platform linux/amd64 --load -t gpw-web:latest .
# 运行
docker-compose -p gazelle up
```