modified docker compose
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user