It worked for me...

This commit is contained in:
2025-05-13 18:23:37 -04:00
parent 3d94baf410
commit e2b10097aa
8 changed files with 154 additions and 15 deletions

View File

@@ -1,7 +1,16 @@
volumes:
pgdata: {}
redisdata: {}
services:
composer-runtime:
volumes:
- .:/app
image: siteworxpro/composer
entrypoint: "/bin/sh -c 'while true; do sleep 30; done;'"
environment:
PHP_IDE_CONFIG: serverName=localhost
dev-runtime:
ports:
- "9501:9501"
@@ -11,13 +20,18 @@ services:
context: .
dockerfile: Dockerfile
entrypoint: "/bin/sh -c 'while true; do sleep 30; done;'"
environment:
PHP_IDE_CONFIG: serverName=localhost
WORKERS: 1
DEBUG: 1
REDIS_HOST: redis
migrations:
image: siteworxpro/migrate:v4.18.3
restart: no
redis:
image: redis:latest
ports:
- "6379:6379"
volumes:
- .:/app
command: "-database 'postgres://${DB_DATABASE-siteworxpro}:${DB_PASSWORD-password}@${DB_HOST-postgres}:5432/siteworxpro?sslmode=disable' -path /app/db/migrations up"
- redisdata:/data
postgres:
image: postgres:latest