Compare commits
No commits in common. "db4ea90a996aa90889d94a2cf0934af5948552c9" and "676ececfadd00ff22db6f59f7f21f3df77e25ffd" have entirely different histories.
db4ea90a99
...
676ececfad
@ -4,16 +4,6 @@ services:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- '8001:8000'
|
||||
restart: unless-stopped
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- '8000:8000'
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- backend
|
1
frontend/.gitignore
vendored
1
frontend/.gitignore
vendored
@ -1 +0,0 @@
|
||||
.idea/
|
@ -1,8 +0,0 @@
|
||||
FROM nginx:stable-alpine
|
||||
|
||||
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./src/. .
|
||||
|
||||
EXPOSE 8000
|
@ -1,22 +0,0 @@
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
server {
|
||||
listen 8000 default_server;
|
||||
listen [::]:8000 default_server;
|
||||
|
||||
root /app;
|
||||
index index.html;
|
||||
server_name _;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://backend:8000/;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Single-board Forum</title>
|
||||
<link rel="stylesheet" href="assets/css/main.css">
|
||||
<meta charset="UTF-8">
|
||||
<script src="assets/js/app.js" type="module"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Single-board Forum</h1>
|
||||
</header>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user