mirror of
https://asciireactor.com/otho/industry-website.git
synced 2024-11-21 19:35:06 +00:00
Added gpg and git configs to docker-compose.
This commit is contained in:
parent
cddbe30c18
commit
764131d99e
@ -25,6 +25,11 @@ services:
|
||||
- GITEA__database__PASSWD=gitea
|
||||
- GITEA__repository__ENABLE_PUSH_CREATE_USER=true
|
||||
- GITEA__repository__ENABLE_PUSH_CREATE_ORG=true
|
||||
- GITEA__repository__signing__SIGNING_KEY=default
|
||||
- GITEA__repository__signing__INITIAL_COMMIT=pubkey
|
||||
- GITEA__repository__signing__WIKI=pubkey
|
||||
- GITEA__repository__signing__CRUD_ACTIONS=pubkey
|
||||
- GITEA__repository__signing__MERGES=pubkey,commitssigned
|
||||
- VIRTUAL_HOST=code.othoulrich.com
|
||||
- VIRTUAL_PORT=3000
|
||||
- LETSENCRYPT_HOST=code.othoulrich.com
|
||||
@ -32,9 +37,11 @@ services:
|
||||
- gitea
|
||||
- proxy
|
||||
volumes:
|
||||
- ./.data/gitea:/data
|
||||
- .data/gitea:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- gitea/gitconfig:/root/.gitconfig:ro
|
||||
- .secret/gitea/gnupg:/root/.gnupg:ro
|
||||
ports:
|
||||
- "922:22"
|
||||
depends_on:
|
||||
@ -51,7 +58,7 @@ services:
|
||||
networks:
|
||||
- gitea
|
||||
volumes:
|
||||
- ./.data/gitea-db:/var/lib/postgresql/data
|
||||
- .data/gitea-db:/var/lib/postgresql/data
|
||||
|
||||
apache:
|
||||
image: httpd:2.4
|
||||
@ -63,7 +70,7 @@ services:
|
||||
networks:
|
||||
- proxy
|
||||
volumes:
|
||||
- ./htdocs:/usr/local/apache2/htdocs
|
||||
- htdocs:/usr/local/apache2/htdocs
|
||||
|
||||
####################################3
|
||||
## nginx proxy
|
||||
@ -79,7 +86,7 @@ services:
|
||||
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
|
||||
volumes:
|
||||
- certs:/etc/nginx/certs:ro
|
||||
- ./vhost.d:/etc/nginx/vhost.d
|
||||
- vhost.d:/etc/nginx/vhost.d
|
||||
- html:/usr/share/nginx/html
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
networks:
|
||||
@ -92,7 +99,7 @@ services:
|
||||
volumes:
|
||||
- certs:/etc/nginx/certs
|
||||
- acme:/etc/acme.sh
|
||||
- ./vhost.d:/etc/nginx/vhost.d
|
||||
- vhost.d:/etc/nginx/vhost.d
|
||||
- html:/usr/share/nginx/html
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
networks:
|
||||
|
Loading…
Reference in New Issue
Block a user