From 70ba28f47ed66b2dbba4820fb0b5f414ac24fec8 Mon Sep 17 00:00:00 2001 From: Spoffy Date: Tue, 30 Jul 2024 02:49:53 +0100 Subject: [PATCH] Cleans up compose files - Removes some whitespace - Removes unnecessary environment variables --- .../grist-local-testing/docker-compose.yml | 5 +---- .../grist-traefik-basic-auth/docker-compose.yml | 2 -- .../grist-with-postgres-redis-minio/docker-compose.yml | 5 ----- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/docker-compose-examples/grist-local-testing/docker-compose.yml b/docker-compose-examples/grist-local-testing/docker-compose.yml index f71af756..4e1642af 100644 --- a/docker-compose-examples/grist-local-testing/docker-compose.yml +++ b/docker-compose-examples/grist-local-testing/docker-compose.yml @@ -1,11 +1,8 @@ services: grist: image: gristlabs/grist:latest - environment: - # Use Python 3 instead of 2. - PYTHON_VERSION: 3 volumes: # Where to store persistent data, such as documents. - - ./grist_local_data:/persist + - ${GRIST_DATA_DIR:-./grist_local_data}:/persist ports: - 8484:8484 diff --git a/docker-compose-examples/grist-traefik-basic-auth/docker-compose.yml b/docker-compose-examples/grist-traefik-basic-auth/docker-compose.yml index fe12d4b6..2a0cf8d2 100644 --- a/docker-compose-examples/grist-traefik-basic-auth/docker-compose.yml +++ b/docker-compose-examples/grist-traefik-basic-auth/docker-compose.yml @@ -1,5 +1,3 @@ - - services: grist: image: gristlabs/grist:latest diff --git a/docker-compose-examples/grist-with-postgres-redis-minio/docker-compose.yml b/docker-compose-examples/grist-with-postgres-redis-minio/docker-compose.yml index cc7f7d7c..91aca973 100644 --- a/docker-compose-examples/grist-with-postgres-redis-minio/docker-compose.yml +++ b/docker-compose-examples/grist-with-postgres-redis-minio/docker-compose.yml @@ -1,12 +1,7 @@ - - services: grist: image: gristlabs/grist:latest environment: - # Use Python 3 instead of 2. - PYTHON_VERSION: 3 - # Postgres database setup TYPEORM_DATABASE: grist TYPEORM_USERNAME: grist