diff --git a/docker-compose.yml b/docker-compose.yml index 3491538..40b378a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,10 +22,9 @@ services: - GITEA__database__NAME=gitea - GITEA__database__USER=gitea - GITEA__database__PASSWD=gitea - - VIRTUAL_HOST=www.othoulrich.com,othoulrich.com - - VIRTUAL_DEST=/code + - VIRTUAL_HOST=code.othoulrich.com - VIRTUAL_PORT=3000 - - LETSENCRYPT_HOST=www.othoulrich.com,othoulrich.com + - LETSENCRYPT_HOST=code.othoulrich.com restart: always networks: - gitea @@ -52,6 +51,17 @@ services: volumes: - ./.data/gitea-db:/var/lib/postgresql/data + apache: + image: httpd:2.4 + container_name: apache + restart: always + environment: + - VIRTUAL_HOST=www.othoulrich.com,othoulrich.com + networks: + - proxy + volumes: + - ./.data/apache/:/usr/local/apache2/htdocs + ####################################3 ## nginx proxy