-
-
Notifications
You must be signed in to change notification settings - Fork 979
Closed
Description
Hi!
Deploy with docker to version 2.5 was easy with https://github.com/api-platform/docker-compose-prod
On local:
vim .env
docker-compose -f docker-compose.build.yml build --pull
docker-compose -f docker-compose.build.yml push
On server:
vim .env
docker-compose pull
docker-compose up -d
docker-compose exec php bin/console cache:clear && docker-compose restart php
How should I do it with version 2.6? Which docker-compose* file(s) use for build/push, which docker-compose* file(s) use for pull/up?
For example file docker-compose.override.yml expose caddy ports so it looks good for docker-compose up -d but it uses build target dev for pwa and bind local directory for php.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels