From d590fc505fb7ecac18be081478da09eb8d8f2b5c Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sat, 19 Jul 2025 17:38:13 -0400 Subject: [PATCH] modified docker compose --- docker-compose.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 9129625..17502bd 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -39,9 +39,7 @@ services: retries: 3 frontend: - build: - context: ./frontend - dockerfile: Dockerfile + image: scm.wyattjmiller.com/wymiller/my-website-v2_frontend:master container_name: frontend ports: - "8000:8000" @@ -52,6 +50,10 @@ services: - EMAIL_FORM= - RSS_URI= - SITEMAP_URI= + - VIRTUAL_HOST=wyattjmiller.com + - VIRTUAL_PORT=80 + - LETSENCRYPT_HOST=wyattjmiller.com + - LETSENCRYPT_EMAIL=wjmiller2016@gmail.com volumes: - ./deno-fresh-app:/app - /app/node_modules @@ -70,9 +72,7 @@ services: retries: 3 public-mywebsite: - build: - context: ./backend/public - dockerfile: Dockerfile + image: scm.wyattjmiller.com/wymiller/my-website-v2_public:master container_name: public-mywebsite ports: - "3000:3000" @@ -97,9 +97,7 @@ services: retries: 3 task-mywebsite: - build: - context: ./backend/task - dockerfile: Dockerfile + image: scm.wyattjmiller.com/wymiller/my-website-v2_task:master container_name: task-mywebsite # fill these in with task env vars for prod environment: @@ -115,7 +113,7 @@ services: valkey: condition: service_healthy volumes: - - ./backend/task/app:/app # <<< place all markdown files here + - ./backend/task/app:/app/posts # <<< place all markdown files here restart: unless-stopped networks: - app_network