Added default root and fixed ordering.

This commit is contained in:
Otho Ulrich 2022-07-09 00:42:38 -04:00
parent e8e3f7214f
commit 5a9347fab1
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -14,6 +14,7 @@ services:
gitea: gitea:
image: gitea/gitea:latest image: gitea/gitea:latest
container_name: gitea container_name: gitea
restart: always
environment: environment:
- USER_UID=1000 - USER_UID=1000
- USER_GID=1000 - USER_GID=1000
@ -27,7 +28,6 @@ services:
- VIRTUAL_HOST=code.othoulrich.com - VIRTUAL_HOST=code.othoulrich.com
- VIRTUAL_PORT=3000 - VIRTUAL_PORT=3000
- LETSENCRYPT_HOST=code.othoulrich.com - LETSENCRYPT_HOST=code.othoulrich.com
restart: always
networks: networks:
- gitea - gitea
- proxy - proxy
@ -71,6 +71,8 @@ services:
image: nginxproxy/nginx-proxy image: nginxproxy/nginx-proxy
container_name: nginx-proxy container_name: nginx-proxy
restart: always restart: always
environment:
- DEFAULT_ROOT="301 http://www.othoulrich.com"
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443