1
1
# PHP symfony environment
2
- Docker environment required to run Symfony (based on official php and mysql docker hub repositories).
2
+ Docker environment required to run Symfony (based on official php and postgresql docker hub repositories).
3
3
4
4
[ ![ Actions Status] ( https://github.com/systemsdk/docker-apache-php-symfony/workflows/Symfony%20App/badge.svg )] ( https://github.com/systemsdk/docker-apache-php-symfony/actions )
5
5
[ ![ CircleCI] ( https://circleci.com/gh/systemsdk/docker-apache-php-symfony.svg?style=svg )] ( https://circleci.com/gh/systemsdk/docker-apache-php-symfony )
@@ -49,7 +49,7 @@ Note 2: Do not use .env.local.php on dev and test environment (delete it if exis
49
49
50
50
Note 3: If you want to change default web port/xdebug configuration you can create .env.local file and set some params (see .env file).
51
51
52
- Note 4: Delete var/mysql -data folder if it exists.
52
+ Note 4: Delete var/postgres -data folder if it exists.
53
53
54
54
3.Add domain to local 'hosts' file:
55
55
``` bash
@@ -90,7 +90,7 @@ make messenger-setup-transports
90
90
## Setting up STAGING environment locally
91
91
1.You can clone this repository from GitHub or install via composer.
92
92
93
- Note: Delete var/mysql -data folder if it is exist.
93
+ Note: Delete var/postgres -data folder if it is exist.
94
94
95
95
If you have installed composer and want to install environment via composer you can use next cmd command:
96
96
``` bash
@@ -117,9 +117,9 @@ If you have installed composer and want to install environment via composer you
117
117
composer create-project systemsdk/docker-apache-php-symfony example-app
118
118
```
119
119
120
- 2.Edit docker-compose-prod.yml and set necessary user/password for MySQL and RabbitMQ.
120
+ 2.Edit docker-compose-prod.yml and set necessary user/password for PostgreSql and RabbitMQ.
121
121
122
- Note: Delete var/mysql -data folder if it is exist.
122
+ Note: Delete var/postgres -data folder if it is exist.
123
123
124
124
3.Edit env.prod and set necessary user/password for MySQL and RabbitMQ.
125
125
@@ -203,7 +203,7 @@ make env-prod
203
203
make ssh
204
204
make ssh-root
205
205
make ssh-supervisord
206
- make ssh-mysql
206
+ make ssh-pgsql
207
207
make ssh-rabbitmq
208
208
209
209
make composer-install-no-dev
@@ -215,7 +215,7 @@ make help
215
215
216
216
make logs
217
217
make logs-supervisord
218
- make logs-mysql
218
+ make logs-pgsql
219
219
make logs-rabbitmq
220
220
221
221
make drop-migrate
0 commit comments