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}`)"