Skip to content

Commit 2e30104

Browse files
committed
fix: remove database container support
1 parent 49b4fa5 commit 2e30104

File tree

2 files changed

+0
-43
lines changed

2 files changed

+0
-43
lines changed

.env.example

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,5 @@
22
# With custom namespace provided, it will be used to prefix all services
33
# in Docker network for current project
44
COMPOSE_PROJECT_NAME=laravel-symfony-serializer
5-
APP_ENV=production
6-
7-
DB_CONNECTION=pgsql
8-
DB_HOST=pgsql
9-
DB_PORT=5432
10-
11-
DB_DATABASE=default
12-
DB_USERNAME=root
13-
DB_PASSWORD=password
14-
15-
DB_MYSQL_FORWARD_PORT=13307
16-
DB_PGSQL_FORWARD_PORT=15433
175

186
XDEBUG_MODE=coverage
19-
20-
CYCLE_ADAPTER_QUEUE_INTEGRATION=false
21-
CYCLE_ADAPTER_SESSION_INTEGRATION=false
22-
CYCLE_ADAPTER_CACHE_INTEGRATION=false
23-
24-
CYCLE_ATTRIBUTES_CACHE=true
25-
CYCLE_ATTRIBUTES_CACHE_DRIVER=array
26-
27-
CYCLE_SCHEMA_CACHE=true
28-
CYCLE_SCHEMA_CACHE_DRIVER=array

docker-compose.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,6 @@ services:
1515
environment:
1616
PHIVE_HOME: /app/.phive
1717

18-
pgsql:
19-
image: wayofdev/postgres:15-alpine-latest
20-
container_name: ${COMPOSE_PROJECT_NAME}-pgsql
21-
restart: on-failure
22-
networks:
23-
- default
24-
ports:
25-
- '${DB_PGSQL_FORWARD_PORT:-15432}:5432'
26-
env_file:
27-
- .env
28-
environment:
29-
POSTGRES_USER: ${DB_USERNAME}
30-
POSTGRES_PASSWORD: ${DB_PASSWORD}
31-
POSTGRES_DB: ${DB_DATABASE}
32-
volumes:
33-
- pgsql-data:/var/lib/postgresql/data:cached
34-
35-
volumes:
36-
pgsql-data:
37-
name: ${COMPOSE_PROJECT_NAME}-pgsql-data
38-
3918
networks:
4019
default:
4120
name: project.${COMPOSE_PROJECT_NAME}

0 commit comments

Comments
 (0)