Skip to content

Commit

Permalink
chore: remove required attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
3mcd committed Mar 3, 2025
1 parent 4fcdca7 commit 125ff68
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions self-host/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ services:
condition: service_completed_successfully
platform: linux/amd64
image: ghcr.io/pubpub/platform:latest
env_file:
- path: .env
required: true
env_file: .env
environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
ports:
Expand All @@ -32,9 +30,7 @@ services:
condition: service_completed_successfully
platform: linux/amd64
image: ghcr.io/pubpub/platform-jobs:latest
env_file:
- path: .env
required: true
env_file: .env
environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
networks:
Expand All @@ -46,9 +42,7 @@ services:
db:
condition: service_started
image: ghcr.io/pubpub/platform-migrations:latest
env_file:
- path: .env
required: true
env_file: .env
environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
# FIXME: remove this once it's merged into main
Expand All @@ -64,9 +58,7 @@ services:
db:
image: postgres:15
restart: always
env_file:
- path: .env
required: true
env_file: .env
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
Expand Down Expand Up @@ -100,9 +92,7 @@ services:
# can be removed if you manually set up a storage service like s3 or minio instead
minio:
image: minio/minio:latest
env_file:
- path: .env
required: true
env_file: .env
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/ready"]
interval: 1m30s
Expand All @@ -125,9 +115,7 @@ services:
minio:
condition: service_healthy
image: minio/mc:latest
env_file:
- path: .env
required: true
env_file: .env
entrypoint: >
/bin/sh -c '
/usr/bin/mc config host add myminio http://minio:9000 "$${MINIO_ROOT_USER}" "$${MINIO_ROOT_PASSWORD}";
Expand Down

0 comments on commit 125ff68

Please sign in to comment.