mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: deploy
This commit is contained in:
parent
8bd1df539f
commit
6e8b0aa467
2
.github/workflows/deploy_test_web.yaml
vendored
2
.github/workflows/deploy_test_web.yaml
vendored
@ -71,4 +71,4 @@ jobs:
|
||||
cd appflowy-web-app
|
||||
docker build -t appflowy-web-app .
|
||||
docker rm -f appflowy-web-app || true
|
||||
docker run -d -p 3000:3000 --env-file .env --name appflowy-web-app appflowy-web-app
|
||||
docker run -d -p 3000:80 --env-file .env --name appflowy-web-app appflowy-web-app
|
||||
|
@ -26,6 +26,6 @@ COPY start.sh /app/start.sh
|
||||
RUN chmod +x /app/start.sh
|
||||
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["/app/start.sh"]
|
||||
|
@ -38,7 +38,7 @@ http {
|
||||
|
||||
# Existing server block for HTTP
|
||||
server {
|
||||
listen 3000;
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
|
@ -61,6 +61,7 @@ const createServer = async (req) => {
|
||||
const timer = logRequestTimer(req);
|
||||
const reqUrl = new URL(req.url);
|
||||
logger.info(`Request URL: ${reqUrl.pathname}`);
|
||||
|
||||
const [
|
||||
namespace,
|
||||
publishName,
|
||||
|
Loading…
Reference in New Issue
Block a user