mirror of
https://github.com/lleene/dockerconfig.git
synced 2025-01-22 21:02:22 +01:00
update google dns
This commit is contained in:
parent
a1cf58614a
commit
b7f215d3bf
@ -1,12 +1,24 @@
|
||||
version: "3.5"
|
||||
version: "3.8"
|
||||
|
||||
networks:
|
||||
gitea:
|
||||
internalnet:
|
||||
external: false
|
||||
|
||||
x-mail: &defaults
|
||||
env_file: local.env
|
||||
networks:
|
||||
- internalnet
|
||||
|
||||
services:
|
||||
ddnsgd:
|
||||
<<: *defaults
|
||||
container_name: "ddnsgd"
|
||||
image: "ghcr.io/dominickbrasileiro/ddnsgd"
|
||||
restart: "always"
|
||||
|
||||
database:
|
||||
container_name: PGSQLdb
|
||||
<<: *defaults
|
||||
container_name: pgsqlserver
|
||||
image: postgres:15
|
||||
volumes:
|
||||
- type: bind
|
||||
@ -16,44 +28,50 @@ services:
|
||||
restart: always
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
POSTGRES_USER: "pgadmin"
|
||||
POSTGRES_PASSWORD: "hear397sew"
|
||||
POSTGRES_INITDB_ARGS: "--auth-host=scram-sha-256 --auth-local=scram-sha-256"
|
||||
POSTGRES_MULTIPLE_DATABASES: "gitea, postfix"
|
||||
networks:
|
||||
- gitea
|
||||
|
||||
roundcubemail:
|
||||
<<: *defaults
|
||||
image: roundcube/roundcubemail:latest-fpm
|
||||
container_name: roundcube
|
||||
depends_on:
|
||||
- roundcubedb
|
||||
links:
|
||||
- roundcubedb
|
||||
ports:
|
||||
- 9000:9000
|
||||
volumes:
|
||||
- ./mail/html:/var/www/html
|
||||
|
||||
|
||||
mailserver:
|
||||
<<: *defaults
|
||||
image: docker.io/mailserver/docker-mailserver:latest
|
||||
container_name: mailserver
|
||||
hostname: mail
|
||||
domainname: zathura.leene.dev
|
||||
ports:
|
||||
- "25:25"
|
||||
- "143:143"
|
||||
- "587:587"
|
||||
- "993:993"
|
||||
volumes:
|
||||
- ./mail/mail-data/:/var/mail/
|
||||
- ./mail/mail-state/:/var/mail-state/
|
||||
- ./mail/mail-logs/:/var/log/mail/
|
||||
- ./mail/config/:/tmp/docker-mailserver/
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
depends_on:
|
||||
- ddnsgd
|
||||
restart: always
|
||||
|
||||
|
||||
adminer:
|
||||
<<: *defaults
|
||||
image: adminer
|
||||
restart: always
|
||||
depends_on:
|
||||
- database
|
||||
ports:
|
||||
- 8080:8080
|
||||
networks:
|
||||
- gitea
|
||||
|
||||
server:
|
||||
image: gitea/gitea
|
||||
container_name: gitea
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- GITEA__database__DB_TYPE=postgres
|
||||
- GITEA__database__HOST=database:5432
|
||||
- GITEA__database__NAME=gitea
|
||||
- GITEA__database__USER=gitea
|
||||
- GITEA__database__PASSWD="hear397sew"
|
||||
restart: always
|
||||
networks:
|
||||
- gitea
|
||||
volumes:
|
||||
- ./gitea:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "222:22"
|
||||
depends_on:
|
||||
- database
|
||||
- "8080:8080"
|
||||
|
35
local.env
Normal file
35
local.env
Normal file
@ -0,0 +1,35 @@
|
||||
|
||||
## Google Dynamic DNS
|
||||
|
||||
INTERVAL=30
|
||||
HOSTNAME="zathura.leene.dev"
|
||||
USERNAME="JaMolgvImRt3jznO"
|
||||
PASSWORD="Enl0rRgqBsZPVupA"
|
||||
|
||||
## Mail Server Env
|
||||
|
||||
ENABLE_SPAMASSASSIN=1
|
||||
SPAMASSASSIN_SPAM_TO_INBOX=1
|
||||
ENABLE_CLAMAV=1
|
||||
ENABLE_FAIL2BAN=1
|
||||
ENABLE_POSTGREY=1
|
||||
ENABLE_SASLAUTHD=0
|
||||
ONE_DIR=1
|
||||
|
||||
## SQL Server Env
|
||||
|
||||
POSTGRES_USER="pgadmin"
|
||||
POSTGRES_PASSWORD="hear397sew"
|
||||
POSTGRES_INITDB_ARGS="--auth-host=scram-sha-256 --auth-local=scram-sha-256"
|
||||
POSTGRES_MULTIPLE_DATABASES="gitea, roundcube"
|
||||
|
||||
## Round Cube Env
|
||||
|
||||
ROUNDCUBEMAIL_DB_TYPE=pgsql
|
||||
ROUNDCUBEMAIL_DB_HOST=database
|
||||
ROUNDCUBEMAIL_DB_NAME=roundcube
|
||||
ROUNDCUBEMAIL_DB_USER=roundcube
|
||||
ROUNDCUBEMAIL_DB_PASSWORD=hear397sew
|
||||
ROUNDCUBEMAIL_SKIN=elastic
|
||||
ROUNDCUBEMAIL_DEFAULT_HOST=tls://mail.zathura.leene.dev
|
||||
ROUNDCUBEMAIL_SMTP_SERVER=tls://mail.zathura.leene.dev
|
Loading…
x
Reference in New Issue
Block a user