Skip to content

Commit 77e44da

Browse files
committed
Merge branch 'release-1.3' into release-2.0
2 parents 23e1e9f + 00dc38b commit 77e44da

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ You can use docker-compose file (`docker-compose.yml`) that is described below t
2626
Default way with PostgreSQL database:
2727

2828
```
29-
docker-compose -f docker-compose.yml up -d
29+
docker-compose -f docker-compose.yml up -d (--build)
3030
```
3131

3232
Or if you want to use it with MySQL (MariaDB):
3333

3434
```
35-
docker-compose -f docker-compose.mysql.yml up -d
35+
docker-compose -f docker-compose.mysql.yml up -d (--build)
3636
```
3737

3838
If you want to up more worker just use this command, when the PHP Censor stack is already started (but you can do it on

web/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN apk add --no-cache $PHPIZE_DEPS && \
1616
RUN docker-php-ext-install -j$(grep -c ^processor /proc/cpuinfo) pdo pdo_mysql pdo_pgsql ldap zip bcmath && \
1717
docker-php-ext-enable xdebug
1818

19-
RUN git clone -b $PHPCENSOR_VERSION --single-branch --depth 1 https://github.com/php-censor/php-censor.git .
19+
RUN git clone -b $PHPCENSOR_VERSION --single-branch --depth 1 https://github.com/php-censor/php-censor.git . && chmod +x ./bin/console
2020

2121
RUN composer install
2222

@@ -32,7 +32,7 @@ ENV DB_TYPE=mysql
3232
ENV DB_NAME=phpcensor
3333
ENV DB_USER=phpcensor
3434
ENV DB_PASS=changethepass
35-
ENV SITE_URL=http://phpcensor.local
35+
ENV SITE_URL=http://phpcensor.localhost
3636
ENV BEANSTALK_HOST=localhost
3737
ENV BEANSTALK_QUEUE_NAME=phpcensor
3838

web/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ parse_args() {
3333
# Entrypoint
3434
main() {
3535
parse_args
36-
36+
3737
if [ ! -f ./app/config.yml ]; then
3838
envsubst < /config.tmpl.yml > ./app/config.yml
3939
fi
40-
40+
4141
wait_for_external_services
4242

4343

worker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN apk add --no-cache $PHPIZE_DEPS && \
1616
RUN docker-php-ext-install -j$(grep -c ^processor /proc/cpuinfo) pdo pdo_mysql pdo_pgsql zip bcmath && \
1717
docker-php-ext-enable xdebug
1818

19-
RUN git clone -b $PHPCENSOR_VERSION --single-branch --depth 1 https://github.com/php-censor/php-censor.git .
19+
RUN git clone -b $PHPCENSOR_VERSION --single-branch --depth 1 https://github.com/php-censor/php-censor.git . && chmod +x ./bin/console
2020

2121
RUN composer install
2222

0 commit comments

Comments
 (0)