Compare commits

..

No commits in common. "db4ea90a996aa90889d94a2cf0934af5948552c9" and "676ececfadd00ff22db6f59f7f21f3df77e25ffd" have entirely different histories.

7 changed files with 0 additions and 55 deletions

View File

@ -4,16 +4,6 @@ services:
build: build:
context: ./backend context: ./backend
dockerfile: Dockerfile dockerfile: Dockerfile
ports:
- '8001:8000'
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports: ports:
- '8000:8000' - '8000:8000'
restart: unless-stopped restart: unless-stopped
depends_on:
- backend

1
frontend/.gitignore vendored
View File

@ -1 +0,0 @@
.idea/

View File

@ -1,8 +0,0 @@
FROM nginx:stable-alpine
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
WORKDIR /app
COPY ./src/. .
EXPOSE 8000

View File

@ -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/;
}
}
}

View File

@ -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>