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
- Host: GitHub
- URL: https://github.com/fl0r1an84/directus-docker-compose
- Owner: FL0R1AN84
- License: gpl-3.0
- Created: 2023-03-03T19:38:44.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-05T19:57:33.000Z (6 months ago)
- Last Synced: 2025-03-27T05:34:51.773Z (27 days ago)
- Topics: directus, docker-compose, postgis, postgresql, redis, redis-cache
- Homepage:
- Size: 21.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# directus

## 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)