An open API service indexing awesome lists of open source software.

https://github.com/fl0r1an84/directus-docker-compose

Directus with Redis cache and Postgres database. Everything as Docker Compose. For ARM64 and M1/ M2 CPUs use image: postgres:13
https://github.com/fl0r1an84/directus-docker-compose

directus docker-compose postgis postgresql redis redis-cache

Last synced: 9 days ago
JSON representation

Directus with Redis cache and Postgres database. Everything as Docker Compose. For ARM64 and M1/ M2 CPUs use image: postgres:13

Awesome Lists containing this project

README

        

# directus

![directus](https://user-images.githubusercontent.com/522079/158864859-0fbeae62-9d7a-4619-b35e-f8fa5f68e0c8.png)

## with PostGIS and Redis

---

### Make sure to change sensitive values (KEY, SECRET, ...) in production 🧐

#### Build and run your app with Compose

```
docker compose up -d
```

and shut down

```
docker compose down
```

Update your admin user password:

```
npx directus users passwd --email user-email --password new-password
```

#### Import snapshot at startup

When the container is started, the data is automatically imported from snapshot.yaml

Create snapshot.yaml:

```
npx directus schema snapshot ./snapshot.yaml
```

**Directus CLI-Documentation:**

[https://docs.directus.io/self-hosted/cli.html](https://docs.directus.io/self-hosted/cli.html)