Added apache.

This commit is contained in:
Otho Ulrich 2022-07-08 22:36:54 -04:00
parent 3545e833ef
commit a65d88ac5a
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -22,10 +22,9 @@ services:
- GITEA__database__NAME=gitea - GITEA__database__NAME=gitea
- GITEA__database__USER=gitea - GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea - GITEA__database__PASSWD=gitea
- VIRTUAL_HOST=www.othoulrich.com,othoulrich.com - VIRTUAL_HOST=code.othoulrich.com
- VIRTUAL_DEST=/code
- VIRTUAL_PORT=3000 - VIRTUAL_PORT=3000
- LETSENCRYPT_HOST=www.othoulrich.com,othoulrich.com - LETSENCRYPT_HOST=code.othoulrich.com
restart: always restart: always
networks: networks:
- gitea - gitea
@ -52,6 +51,17 @@ services:
volumes: volumes:
- ./.data/gitea-db:/var/lib/postgresql/data - ./.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 ####################################3
## nginx proxy ## nginx proxy