Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

484: Added production setup documentation #29

Merged
merged 2 commits into from
Jan 17, 2024
Merged
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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,11 @@ hence use this command:
```shell
docker compose exec phpfpm composer install --no-dev --optimize-autoloader
```

#### Recommend setup

Using all three repositories, you can create the setup depicted below and have communication between the backend
(imports) and the API (frontend) by using the
[shared service's repository](https://github.com/itk-dev/event-database-services.git).

![Network setup production](./docs/images/networks.png)
18 changes: 0 additions & 18 deletions docker-compose.server.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,6 @@ services:
volumes:
- "./.docker/data/rabbit:/var/lib/rabbitmq/mnesia"

elasticsearch:
image: elasticsearch:8.10.2
restart: unless-stopped
networks:
- app
deploy:
resources:
limits:
memory: 4096M
reservations:
memory: 4096M
user: "1042"
volumes:
- ./.docker/data/elasticsearch:/usr/share/elasticsearch/data
environment:
- discovery.type=single-node
- xpack.security.enabled=false

supervisor:
image: itkdev/supervisor-php8.2:alpine
restart: unless-stopped
Expand Down
Binary file added docs/images/networks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading