begin work on a new web

This commit is contained in:
Timothy Pidashev
2024-03-06 10:11:13 -08:00
parent 0e534d670d
commit 8f57e420b5
12 changed files with 200 additions and 204 deletions

View File

@@ -1,13 +1,39 @@
version: '3'
version: "3.8"
services:
proxy:
container_name: proxy
build:
context: ./proxy
context: ./src/proxy
dockerfile: Dockerfile.dev
args:
- PROXY_VERSION
- BUILD_DATE
- GIT_COMMIT
ports:
- "80:80"
- "443:443"
volumes:
- "./src/proxy/Caddyfile.dev:/Caddyfile.dev:ro"
- "./src/proxy/certs:/certs:rw"
restart: always
networks:
- proxy
depends_on:
- landing
landing:
container_name: landing
build:
context: ./src/landing
dockerfile: Dockerfile.dev
ports:
- "3000:3000"
- "8000:8000"
volumes:
- "./src/landing:/landing:rw"
networks:
- proxy
networks:
# The proxy network is the only network exposed externally
proxy:
name: proxy