mirror of
https://github.com/BillyOutlast/Gazelle-Porn.git
synced 2026-02-04 02:51:19 +01:00
sync: 2022-10-20 14:03:44 +0000
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user