Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM driftphp/base-php8
WORKDIR /var/www

#
# Apisearch installation
# Drift demo installation
#
COPY . .
RUN composer install -n --prefer-dist --no-dev --ignore-platform-reqs && \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ services:
networks: [driftphp_demo_main]
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_USER: root
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: demo
volumes:
Expand All @@ -31,6 +30,7 @@ services:
- "${SERVER_PORT}:8000"
networks: [driftphp_demo_main]
entrypoint: ["php", "balancer", "8000", "driftphp_server_1:8000", "driftphp_server_2:8000", "driftphp_server_3:8000"]
env_file: ../.env

driftphp_demo_server_1:
build: ..
Expand Down