mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 19:13:51 +00:00
expose actually works lol
This commit is contained in:
@@ -2,6 +2,6 @@
|
|||||||
auto_https off
|
auto_https off
|
||||||
}
|
}
|
||||||
|
|
||||||
localhost {
|
127.0.0.1:80 {
|
||||||
reverse_proxy landing:8000
|
reverse_proxy landing:3000
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
version: "3.8"
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
proxy:
|
proxy:
|
||||||
@@ -6,12 +6,11 @@ services:
|
|||||||
image: caddy:latest
|
image: caddy:latest
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./Caddyfile.dev:/etc/caddy/Caddyfile:rw
|
- ./Caddyfile.dev:/etc/caddy/Caddyfile:rw
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- external
|
||||||
depends_on:
|
depends_on:
|
||||||
- landing
|
- landing
|
||||||
|
|
||||||
@@ -19,12 +18,12 @@ services:
|
|||||||
container_name: landing
|
container_name: landing
|
||||||
image: landing:dev
|
image: landing:dev
|
||||||
expose:
|
expose:
|
||||||
- 8000
|
|
||||||
- 3000
|
- 3000
|
||||||
|
- 8000
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- external
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
external:
|
||||||
name: proxy
|
name: external
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
Reference in New Issue
Block a user