FONDLED THE CODE

This commit is contained in:
2025-05-06 10:36:07 -04:00
parent 9f91737781
commit c09fb31e34
8 changed files with 162 additions and 48 deletions

View File

@@ -1,10 +1,10 @@
#volumes:
# pgdata: {}
volumes:
redisdata: {}
services:
dev-runtime:
ports:
- "8080:8080"
- "9501:9501"
volumes:
- .:/app
build:
@@ -14,24 +14,12 @@ services:
environment:
PHP_IDE_CONFIG: serverName=localhost
WORKERS: 1
HTTP_PORT: 8080
DEBUG: 1
REDIS_HOST: 192.168.1.30
REDIS_HOST: redis
# migrations:
# image: siteworxpro/migrate:v4.18.3
# restart: no
# volumes:
# - .:/app
# command: "-database 'postgres://${DB_DATABASE-siteworxpro}:${DB_PASSWORD-password}@${DB_HOST-postgres}:5432/siteworxpro?sslmode=disable' -path /app/db/migrations up"
#
# postgres:
# image: postgres:latest
# environment:
# POSTGRES_USER: ${DB_USERNAME:-siteworxpro}
# POSTGRES_PASSWORD: ${DB_PASSWORD:-password}
# POSTGRES_DB: ${DB_DATABASE:-siteworxpro}
# ports:
# - "5432:5432"
# volumes:
# - pgdata:/var/lib/postgresql/data
redis:
image: redis:latest
ports:
- "6379:6379"
volumes:
- redisdata:/data