feat: add docker-compose configuration, new Ferrari image, and update SQL permissions
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
services:
|
||||
db:
|
||||
volumes:
|
||||
- ./data/db:/var/lib/postgresql/data
|
||||
- ./supabase/migrations/00-run-init.sh:/docker-entrypoint-initdb.d/00-run-init.sh:ro
|
||||
- ./supabase/migrations/01-init.sql:/sql/01-init.sql:ro
|
||||
|
||||
storage:
|
||||
volumes:
|
||||
- ./data/storage:/var/lib/storage
|
||||
|
||||
imgproxy:
|
||||
volumes:
|
||||
- ./data/storage:/var/lib/storage
|
||||
|
||||
post-init:
|
||||
volumes:
|
||||
- ./supabase/migrations/post-boot.sql:/sql/post-boot.sql:ro
|
||||
- ./supabase/migrations/02-leads.sql:/sql/02-leads.sql:ro
|
||||
|
||||
kong:
|
||||
volumes:
|
||||
- ./supabase/kong.yml:/home/kong/kong.yml:ro
|
||||
|
||||
web:
|
||||
volumes:
|
||||
- ./frontend:/usr/share/nginx/html
|
||||
- ./frontend/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
+1
-1
@@ -246,7 +246,7 @@ section { padding: 5rem 0; }
|
||||
inset: 0;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(11,12,16,0.6) 0%, rgba(11,12,16,0.95) 100%),
|
||||
url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1900&q=80') center / cover no-repeat;
|
||||
url('images/ferrari-main-car.png') center / cover no-repeat;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
|
||||
@@ -60,6 +60,10 @@ on conflict (id) do update
|
||||
file_size_limit = excluded.file_size_limit,
|
||||
allowed_mime_types = excluded.allowed_mime_types;
|
||||
|
||||
grant select on storage.buckets to anon, authenticated;
|
||||
grant select on storage.objects to anon;
|
||||
grant select, insert, update, delete on storage.objects to authenticated;
|
||||
|
||||
drop policy if exists "vehicle_photos_public_read" on storage.objects;
|
||||
drop policy if exists "vehicle_photos_admin_insert" on storage.objects;
|
||||
drop policy if exists "vehicle_photos_admin_update" on storage.objects;
|
||||
|
||||
Reference in New Issue
Block a user