feat: dockernize webapp and server packages

This commit is contained in:
a.bouhuolia
2023-03-30 03:55:59 +02:00
parent bd80e7f7be
commit 03753384d3
15 changed files with 492 additions and 142 deletions

View File

@@ -0,0 +1,16 @@
server {
listen 80 default_server;
location /api {
proxy_pass http://server:${SERVER_PROXY_PORT};
}
location / {
proxy_pass http://webapp;
}
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt/;
log_not_found off;
}
}