Skip to content

Commit

Permalink
chore: remove deprecated version key
Browse files Browse the repository at this point in the history
  • Loading branch information
FabricSoul committed Aug 11, 2024
1 parent 8e59158 commit 6a650ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
11 changes: 5 additions & 6 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
postgres:
image: postgres:15
Expand All @@ -9,7 +8,7 @@ services:
volumes:
- pg_data:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
Expand All @@ -19,14 +18,14 @@ services:
context: .
dockerfile: Dockerfile
ports:
- '3000:3000'
- "3000:3000"
env_file:
- .env.local
volumes:
- './uploads:/zipline/uploads'
- './public:/zipline/public'
- "./uploads:/zipline/uploads"
- "./public:/zipline/public"
depends_on:
- 'postgres'
- "postgres"

volumes:
pg_data:
11 changes: 5 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
postgres:
image: postgres:15
Expand All @@ -10,15 +9,15 @@ services:
volumes:
- pg_data:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5

zipline:
image: ghcr.io/diced/zipline
ports:
- '3000:3000'
- "3000:3000"
restart: unless-stopped
environment:
- CORE_RETURN_HTTPS=false
Expand All @@ -28,10 +27,10 @@ services:
- CORE_DATABASE_URL=postgres://postgres:postgres@postgres/postgres
- CORE_LOGGER=true
volumes:
- './uploads:/zipline/uploads'
- './public:/zipline/public'
- "./uploads:/zipline/uploads"
- "./public:/zipline/public"
depends_on:
- 'postgres'
- "postgres"

volumes:
pg_data:

0 comments on commit 6a650ca

Please sign in to comment.