dev stack setup
This commit is contained in:
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
.DS_Store
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
caddy_data
|
||||
5
conf/Caddyfile
Normal file
5
conf/Caddyfile
Normal file
@@ -0,0 +1,5 @@
|
||||
obastidor.test {
|
||||
tls
|
||||
reverse_proxy obastidor_httpd
|
||||
}
|
||||
|
||||
45
docker-compose.yml
Normal file
45
docker-compose.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
name: proxy
|
||||
|
||||
services:
|
||||
caddy:
|
||||
image: lucaslorentz/caddy-docker-proxy:ci-alpine
|
||||
container_name: caddy
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443/tcp
|
||||
- 443:443/udp
|
||||
environment:
|
||||
- CADDY_INGRESS_NETWORKS=proxy-network
|
||||
networks:
|
||||
- proxy-network
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./caddy_data:/data
|
||||
restart: unless-stopped
|
||||
|
||||
mailpit:
|
||||
container_name: mailpit
|
||||
image: axllent/mailpit
|
||||
labels:
|
||||
caddy: mailpit.test
|
||||
caddy.reverse_proxy: "{{upstreams 8025}}"
|
||||
caddy.tls: "internal"
|
||||
networks:
|
||||
- proxy-network
|
||||
|
||||
adminer:
|
||||
container_name: adminer
|
||||
image: adminer
|
||||
networks:
|
||||
- proxy-network
|
||||
labels:
|
||||
caddy: adminer.test
|
||||
caddy.reverse_proxy: "{{upstreams 8080}}"
|
||||
caddy.tls: "internal"
|
||||
|
||||
networks:
|
||||
proxy-network:
|
||||
name: proxy-network
|
||||
|
||||
volumes:
|
||||
caddy_data: {}
|
||||
0
sample.env
Normal file
0
sample.env
Normal file
Reference in New Issue
Block a user