mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-02-08 10:05:56 +00:00
Initial commit
This commit is contained in:
23
docker/infrastructure/mail/roundcube/docker-compose.yml
Normal file
23
docker/infrastructure/mail/roundcube/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
roundcube:
|
||||
image: roundcube/roundcubemail
|
||||
container_name: roundcube
|
||||
networks:
|
||||
- default
|
||||
- proxy
|
||||
environment:
|
||||
- ROUNDCUBEMAIL_DEFAULT_HOST=ssl://mail.vhaudiquet.fr
|
||||
- ROUNDCUBEMAIL_DEFAULT_PORT=993
|
||||
- ROUNDCUBEMAIL_SMTP_SERVER=ssl://mail.vhaudiquet.fr
|
||||
- ROUNDCUBEMAIL_SMTP_PORT=465
|
||||
ports:
|
||||
- "8000"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.roundcube.rule=Host(`webmail.local`)"
|
||||
- "traefik.http.routers.roundcube.entrypoints=http"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
name: proxy
|
||||
external: true
|
||||
32
docker/infrastructure/mail/stalwart/docker-compose.yml
Normal file
32
docker/infrastructure/mail/stalwart/docker-compose.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
services:
|
||||
stalwart:
|
||||
image: stalwartlabs/mail-server:latest
|
||||
container_name: stalwart
|
||||
networks:
|
||||
- default
|
||||
- proxy
|
||||
volumes:
|
||||
- stalwart_data:/opt/stalwart-mail
|
||||
ports:
|
||||
- "25:25" # SMTP port
|
||||
- "465:465" # SMTPS port
|
||||
- "993:993" # IMAPS port
|
||||
- "587:587" # SMTP Submission STARTTLS
|
||||
- "8080" # HTTP port
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.stalwart.rule=Host(`mail.vhaudiquet.fr`)"
|
||||
- "traefik.http.services.stalwart.loadbalancer.server.port=8080"
|
||||
|
||||
volumes:
|
||||
stalwart_data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: 'none'
|
||||
o: 'bind'
|
||||
device: '/app/stalwart/data'
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
name: proxy
|
||||
external: true
|
||||
24
docker/infrastructure/network/traefik/docker-compose.yml
Normal file
24
docker/infrastructure/network/traefik/docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v3.2
|
||||
command:
|
||||
- "--configFile=/etc/traefik/traefik.yml"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "8080:8080"
|
||||
networks:
|
||||
- default
|
||||
- proxy
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- type: bind
|
||||
source: /root/traefik.yml
|
||||
target: /etc/traefik/traefik.yml
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.traefik.rule=Host(`traefik.local`)"
|
||||
- "traefik.http.services.traefik.loadbalancer.server.port=8080"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
name: proxy
|
||||
16
docker/infrastructure/network/traefik/traefik.yml
Normal file
16
docker/infrastructure/network/traefik/traefik.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
api:
|
||||
insecure: true
|
||||
|
||||
entryPoints:
|
||||
http:
|
||||
address: ":80"
|
||||
forwardedHeaders:
|
||||
trustedIPs:
|
||||
- "127.0.0.1/32"
|
||||
- "10.1.2.11/32" # nginxproxymanager
|
||||
|
||||
providers:
|
||||
docker:
|
||||
endpoint: "unix:///var/run/docker.sock"
|
||||
network: proxy
|
||||
exposedByDefault: false
|
||||
11
docker/infrastructure/sshportal/docker-compose.yml
Normal file
11
docker/infrastructure/sshportal/docker-compose.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
sshportal:
|
||||
image: moul/sshportal
|
||||
container_name: sshportal
|
||||
ports:
|
||||
- "2222:2222"
|
||||
volumes:
|
||||
- "data:/root/"
|
||||
|
||||
volumes:
|
||||
data:
|
||||
Reference in New Issue
Block a user