Skip to content

Commit

Permalink
fix: remove database container support
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Jun 18, 2024
1 parent 49b4fa5 commit 2e30104
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 43 deletions.
22 changes: 0 additions & 22 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,5 @@
# With custom namespace provided, it will be used to prefix all services
# in Docker network for current project
COMPOSE_PROJECT_NAME=laravel-symfony-serializer
APP_ENV=production

DB_CONNECTION=pgsql
DB_HOST=pgsql
DB_PORT=5432

DB_DATABASE=default
DB_USERNAME=root
DB_PASSWORD=password

DB_MYSQL_FORWARD_PORT=13307
DB_PGSQL_FORWARD_PORT=15433

XDEBUG_MODE=coverage

CYCLE_ADAPTER_QUEUE_INTEGRATION=false
CYCLE_ADAPTER_SESSION_INTEGRATION=false
CYCLE_ADAPTER_CACHE_INTEGRATION=false

CYCLE_ATTRIBUTES_CACHE=true
CYCLE_ATTRIBUTES_CACHE_DRIVER=array

CYCLE_SCHEMA_CACHE=true
CYCLE_SCHEMA_CACHE_DRIVER=array
21 changes: 0 additions & 21 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,6 @@ services:
environment:
PHIVE_HOME: /app/.phive

pgsql:
image: wayofdev/postgres:15-alpine-latest
container_name: ${COMPOSE_PROJECT_NAME}-pgsql
restart: on-failure
networks:
- default
ports:
- '${DB_PGSQL_FORWARD_PORT:-15432}:5432'
env_file:
- .env
environment:
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: ${DB_DATABASE}
volumes:
- pgsql-data:/var/lib/postgresql/data:cached

volumes:
pgsql-data:
name: ${COMPOSE_PROJECT_NAME}-pgsql-data

networks:
default:
name: project.${COMPOSE_PROJECT_NAME}
Expand Down

0 comments on commit 2e30104

Please sign in to comment.