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
df7e70e9f6
commit
b1afc455e9
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,11 +38,11 @@ http {
|
||||
|
||||
# Existing server block for HTTP
|
||||
server {
|
||||
listen 3000;
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:3001;
|
||||
proxy_pass http://localhost:3000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
|
@ -140,7 +140,7 @@ const createServer = async (req) => {
|
||||
const start = () => {
|
||||
try {
|
||||
Bun.serve({
|
||||
port: 3001,
|
||||
port: 3000,
|
||||
fetch: createServer,
|
||||
error: (err) => {
|
||||
logger.error(`Internal Server Error: ${err}`);
|
||||
|
Loading…
Reference in New Issue
Block a user