Skip to content

Commit 34cbf34

Browse files
authored
chore: add pruning envs
1 parent e569e55 commit 34cbf34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/n8n/docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ services:
1212
- POSTGRES_DB
1313
- POSTGRES_NON_ROOT_USER
1414
- POSTGRES_NON_ROOT_PASSWORD
15+
- EXECUTIONS_DATA_PRUNE=true
16+
- EXECUTIONS_DATA_MAX_AGE=365
17+
- EXECUTIONS_DATA_PRUNE_MAX_COUNT=50000
1518
volumes:
1619
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/n8n/database:/var/lib/postgresql/data
1720
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/n8n/init-database.sh:/docker-entrypoint-initdb.d/init-data.sh:ro

0 commit comments

Comments
 (0)