mirror of
https://asciireactor.com/otho/industry-website.git
synced 2024-11-22 06:25:06 +00:00
Added apache.
This commit is contained in:
parent
3545e833ef
commit
a65d88ac5a
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user