add members subdomain

This commit is contained in:
simon 2022-12-16 17:37:12 +07:00
parent ebf2ba61c2
commit aac5f41913
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -18,6 +18,7 @@ services:
- tubearchivist_network
- umami_network
- gitea_network
- members_network
nginx-proxy-acme:
image: nginxproxy/acme-companion
container_name: nginx-proxy-acme
@ -148,6 +149,31 @@ services:
- ./volume/redditbot/data:/data
env_file:
- ./env/redditbot.env
# members
members_backend_nginx:
build: ./members/nginx
container_name: members_backend_nginx
restart: always
expose:
- "8000"
environment:
- VIRTUAL_HOST=members.tubearchivist.com
- LETSENCRYPT_HOST=members.tubearchivist.com
- VIRTUAL_PORT=8000
depends_on:
- members_web
networks:
- members_network
members_web:
container_name: members_web
build: ./members/web
restart: always
expose:
- "8080"
volumes:
- ./volume/members/web/data:/data
networks:
- members_network
networks:
front:
@ -158,3 +184,5 @@ networks:
driver: bridge
gitea_network:
driver: bridge
members_network:
driver: bridge