test
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
parent
745db317ce
commit
bf16b2b010
@ -55,7 +55,7 @@ This will start up the Astro, Payloadcms and Mongo containers and make them avai
|
|||||||
|
|
||||||
## Development
|
## 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
|
## Deployment
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@ services:
|
|||||||
target: prod
|
target: prod
|
||||||
environment:
|
environment:
|
||||||
PAYLOAD_URL: ${PAYLOAD_URL}
|
PAYLOAD_URL: ${PAYLOAD_URL}
|
||||||
|
volumes:
|
||||||
|
- ./data/media:/prod/dist/media
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.${NAME}-astro.rule=Host(`${ASTRO_URL}`)"
|
- "traefik.http.routers.${NAME}-astro.rule=Host(`${ASTRO_URL}`)"
|
||||||
|
Loading…
Reference in New Issue
Block a user