mirror of
https://github.com/lleene/dockerconfig.git
synced 2025-01-22 21:02:22 +01:00
WIP: progress build
This commit is contained in:
parent
dde53d3452
commit
d75cbb6fdb
9
TODO.md
Normal file
9
TODO.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Startup
|
||||
|
||||
- Update accounts
|
||||
- Update dkim
|
||||
|
||||
# Compose
|
||||
|
||||
- Include Hugo in build
|
||||
- Include nextcloud in build
|
9
config/nginx/git.zathura.leene.dev_location
Normal file
9
config/nginx/git.zathura.leene.dev_location
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
location / {
|
||||
proxy_pass git.zathura.leene.dev;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
@ -17,6 +17,8 @@ services:
|
||||
<<: *defaults
|
||||
container_name: pgsqlserver
|
||||
image: postgres:15
|
||||
environment:
|
||||
- POSTGRES_MULTIPLE_DATABASES="gitea, roundcube"
|
||||
volumes:
|
||||
- sql_data:/var/lib/postgresql/data/:z
|
||||
- ./config/pg-init-scripts:/docker-entrypoint-initdb.d:ro
|
||||
@ -24,13 +26,37 @@ services:
|
||||
expose:
|
||||
- "5432"
|
||||
|
||||
gitea:
|
||||
<<: *defaults
|
||||
container_name: gitea
|
||||
image: gitea/gitea
|
||||
restart: always
|
||||
environment:
|
||||
- VIRTUAL_HOST=git.zathura.leene.dev
|
||||
- VIRTUAL_PORT=3000
|
||||
- LETSENCRYPT_HOST=zathura.leene.dev
|
||||
- LETSENCRYPT_EMAIL=admin@zathura.leene.dev
|
||||
volumes:
|
||||
- gitea_data:/data:z
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
expose:
|
||||
- "3000"
|
||||
ports:
|
||||
- "222:22"
|
||||
depends_on:
|
||||
- pgsqlserver
|
||||
links:
|
||||
- pgsqlserver
|
||||
|
||||
roundcubemail:
|
||||
<<: *defaults
|
||||
image: roundcube/roundcubemail:latest-fpm
|
||||
container_name: roundcubemail
|
||||
environment:
|
||||
- ROUNDCUBEMAIL_DB_HOST=pgsqlserver
|
||||
- VIRTUAL_HOST=zathura.leene.dev
|
||||
- VIRTUAL_HOST=inbox.zathura.leene.dev
|
||||
- VIRTUAL_PORT=9000
|
||||
- LETSENCRYPT_HOST=zathura.leene.dev
|
||||
- LETSENCRYPT_EMAIL=admin@zathura.leene.dev
|
||||
depends_on:
|
||||
@ -66,7 +92,6 @@ services:
|
||||
- ddnsgd
|
||||
restart: always
|
||||
|
||||
|
||||
reverse-proxy:
|
||||
<<: *defaults
|
||||
image: nginxproxy/nginx-proxy
|
||||
@ -107,8 +132,8 @@ services:
|
||||
build: ./config/nginx
|
||||
|
||||
volumes:
|
||||
sql_data:
|
||||
acme-state:
|
||||
gitea_data:
|
||||
nginx_certs:
|
||||
nginx_dhparam:
|
||||
nginx_html:
|
||||
@ -117,3 +142,4 @@ volumes:
|
||||
mail_data:
|
||||
mail_config:
|
||||
mail_state:
|
||||
sql_data:
|
||||
|
Loading…
x
Reference in New Issue
Block a user