Add autist
parent
22bc1193e6
commit
8359021187
|
@ -175,5 +175,39 @@ http {
|
||||||
location / {
|
location / {
|
||||||
proxy_pass "http://nextcloud";
|
proxy_pass "http://nextcloud";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
### AUTISM-APP ###
|
||||||
|
|
||||||
|
upstream autism-app {
|
||||||
|
server autism_app:3000;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name zavedanje-o-avtizmu.xyz;
|
||||||
|
access_log /logs/autism.log custom_log;
|
||||||
|
|
||||||
|
location /.well-known/acme-challenge/ {
|
||||||
|
root /var/www/certbot;
|
||||||
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
return 301 https://zavedanje-o-avtizmu.xyz$request_uri;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
server_name zavedanje-o-avtizmu.xyz;
|
||||||
|
|
||||||
|
ssl_certificate /etc/letsencrypt/live/zavedanje-o-avtizmu.xyz/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/letsencrypt/live/zavedanje-o-avtizmu.xyz/privkey.pem;
|
||||||
|
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass "http://autism-app/";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,8 @@ networks:
|
||||||
name: gitea
|
name: gitea
|
||||||
nextcloud:
|
nextcloud:
|
||||||
name: nextcloud
|
name: nextcloud
|
||||||
|
autism_app_network:
|
||||||
|
name: autism_app_network
|
||||||
|
|
||||||
services:
|
services:
|
||||||
#
|
#
|
||||||
|
@ -24,6 +26,7 @@ services:
|
||||||
- gitea
|
- gitea
|
||||||
- nextcloud
|
- nextcloud
|
||||||
- nextcloud_db
|
- nextcloud_db
|
||||||
|
- autism_app
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
|
@ -38,6 +41,7 @@ services:
|
||||||
- jellyfin
|
- jellyfin
|
||||||
- gitea
|
- gitea
|
||||||
- nextcloud
|
- nextcloud
|
||||||
|
- autism_app_network
|
||||||
|
|
||||||
certbot:
|
certbot:
|
||||||
image: certbot/certbot:latest
|
image: certbot/certbot:latest
|
||||||
|
@ -136,3 +140,12 @@ services:
|
||||||
#
|
#
|
||||||
# OTHER SERVICES
|
# OTHER SERVICES
|
||||||
#
|
#
|
||||||
|
autism_app:
|
||||||
|
container_name: autism_app
|
||||||
|
image: autism_app
|
||||||
|
build:
|
||||||
|
context: ./autism-app
|
||||||
|
volumes:
|
||||||
|
- ./autism-app/src:/app/src
|
||||||
|
networks:
|
||||||
|
- autism_app_network
|
||||||
|
|
Loading…
Reference in New Issue