diff --git a/docker-compose.yml b/docker-compose.yml index e59726b..2667ff1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,7 @@ services: gitea: image: gitea/gitea:latest container_name: gitea + restart: always environment: - USER_UID=1000 - USER_GID=1000 @@ -27,7 +28,6 @@ services: - VIRTUAL_HOST=code.othoulrich.com - VIRTUAL_PORT=3000 - LETSENCRYPT_HOST=code.othoulrich.com - restart: always networks: - gitea - proxy @@ -71,6 +71,8 @@ services: image: nginxproxy/nginx-proxy container_name: nginx-proxy restart: always + environment: + - DEFAULT_ROOT="301 http://www.othoulrich.com" ports: - 80:80 - 443:443