mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
38 lines
461 B
Markdown
38 lines
461 B
Markdown
# Deployment with Docker compose
|
|
|
|
## Configure
|
|
|
|
Copy example.env to .env and enter values.
|
|
|
|
## Initialize
|
|
|
|
```sh
|
|
./init.sh
|
|
```
|
|
|
|
## Start
|
|
|
|
```sh
|
|
docker compose up --force-recreate --detach
|
|
```
|
|
|
|
## Update app
|
|
|
|
Adjust `WEB_TAG` in .env if necessary.
|
|
|
|
```sh
|
|
./update.sh
|
|
```
|
|
|
|
## Execute commands in web container
|
|
|
|
```sh
|
|
docker compose exec -it web /bin/sh
|
|
```
|
|
|
|
## Worker active tasks
|
|
|
|
```sh
|
|
docker compose exec -it worker celery -A project.celery inspect active
|
|
```
|