Skip to content

Commit

Permalink
Merge pull request #29 from itk-dev/feature/prod-installation
Browse files Browse the repository at this point in the history
484: Added production setup documentation
  • Loading branch information
cableman authored Jan 17, 2024
2 parents 54f3753 + 2ea6176 commit a838707
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
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.

0 comments on commit a838707

Please sign in to comment.