From bf16b2b0108c895f924b14e3352c579668f83f47 Mon Sep 17 00:00:00 2001 From: Max Schmidt Date: Fri, 19 May 2023 13:15:32 +0200 Subject: [PATCH] test Signed-off-by: Max Schmidt --- README.md | 2 +- docker-compose-prod.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c15754..11f8725 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ This will start up the Astro, Payloadcms and Mongo containers and make them avai ## Development -The `docker-compose.yml` and `docker-compose-dev.yml` files includes everything you need to run the containers. The containers use the environment variables declared in the `.env.dev` file and mounted volumes to store data persistently even after the containers are stopped and started. +The `docker-compose.yml` and `docker-compose-dev.yml` files includes everything you need to run the containers. The containers use the environment variables declared in the `.env` file and mounted volumes to store data persistently even after the containers are stopped and started. ## Deployment diff --git a/docker-compose-prod.yml b/docker-compose-prod.yml index 80fdcd1..e0da101 100644 --- a/docker-compose-prod.yml +++ b/docker-compose-prod.yml @@ -5,6 +5,8 @@ services: target: prod environment: PAYLOAD_URL: ${PAYLOAD_URL} + volumes: + - ./data/media:/prod/dist/media labels: - "traefik.enable=true" - "traefik.http.routers.${NAME}-astro.rule=Host(`${ASTRO_URL}`)"