You've already forked Traefik-Redis-Api
37 lines
944 B
YAML
37 lines
944 B
YAML
#volumes:
|
|
# pgdata: {}
|
|
|
|
services:
|
|
dev-runtime:
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- .:/app
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
entrypoint: "/bin/sh -c 'while true; do sleep 30; done;'"
|
|
environment:
|
|
PHP_IDE_CONFIG: serverName=localhost
|
|
WORKERS: 1
|
|
HTTP_PORT: 8080
|
|
DEBUG: 1
|
|
REDIS_HOST: 192.168.1.30
|
|
|
|
# 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 |