This website works better with JavaScript.
首頁
探索
說明
登入
valere
/
virages
關註
1
收藏
0
複製
0
程式碼
問題管理
2
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
ci: v4
master
valere
3 月之前
父節點
c6d9c965c8
當前提交
9b57c95130
共有
3 個文件被更改
,包括
3 次插入
和
2 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
Dockerfile
+1
-1
config.sh
+1
-0
docker-compose.yml
+ 1
- 1
Dockerfile
查看文件
@@ -9,5 +9,5 @@ RUN npm run build
# production stage
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE
300
0
EXPOSE
8
0
CMD ["nginx", "-g", "daemon off;"]
+ 1
- 1
config.sh
查看文件
@@ -1,4 +1,4 @@
export DOMAIN="virages.io"
export PORT="7835"
export PORT_EXPOSED="
300
0"
export PORT_EXPOSED="
8
0"
export REDIRECTIONS="" # example.$MAIN_DOMAIN->/route $MAIN_DOMAIN->url /route->/another-route /route->url
+ 1
- 0
docker-compose.yml
查看文件
@@ -3,6 +3,7 @@ services:
build:
context: .
dockerfile: Dockerfile
image: virages:latest
container_name: virages
restart: unless-stopped
ports:
Write
Preview
Loading…
取消
儲存