fix(docker): revert self host volumes change (#4011)

* fix(docker): revert self host volumes change

* chore(docker): update images

* chore(docker): pg-meta -> meta
This commit is contained in:
Bobbie Soedirgo authored and GitHub committed 2021-11-24 08:12:39 +08:00
1 parent 0f1be5f157
commit 6511fcc4ca
6 files changed
+11 -29

No files matched your search

+2 -4
View File
@@ -1,6 +1,4 @@
volumes/db/data/**/*
!volumes/db/data/.gitkeep
volumes/storage/data/**/*
!volumes/storage/data/.gitkeep
volumes/db/data
volumes/storage
.env
test.http
+2 -4
View File
@@ -3,13 +3,11 @@ version: "3.8"
services:
mail:
container_name: supabase-mail
image: phamhieu/inbucket:latest
image: inbucket/inbucket:stable
ports:
- '2500:2500' # SMTP
- '9000:9000' # web interface
- '1100:1100' # POP3
db:
volumes:
- type: bind
source: ./dev/data.sql
target: /docker-entrypoint-initdb.d/data.sql
- ./dev/data.sql:/docker-entrypoint-initdb.d/data.sql
+7 -21
View File
@@ -22,13 +22,11 @@ services:
KONG_DNS_ORDER: LAST,A,CNAME
KONG_PLUGINS: request-transformer,cors,key-auth,acl
volumes:
- type: bind
source: ./volumes/api/kong.yml
target: /var/lib/kong/kong.yml
- ./volumes/api/kong.yml:/var/lib/kong/kong.yml
auth:
container_name: supabase-auth
image: supabase/gotrue:v2.1.8
image: supabase/gotrue:v2.2.6
depends_on:
- db
restart: unless-stopped
@@ -75,6 +73,7 @@ services:
PGRST_DB_ANON_ROLE: anon
PGRST_JWT_SECRET: ${JWT_SECRET}
PGRST_DB_USE_LEGACY_GUCS: "false"
realtime:
container_name: supabase-realtime
image: supabase/realtime:v0.15.0
@@ -115,13 +114,11 @@ services:
REGION: stub
GLOBAL_S3_BUCKET: stub
volumes:
- type: volume
source: volume_storage
target: /var/lib/storage
- ./volumes/storage:/var/lib/storage
meta:
container_name: supabase-meta
image: supabase/postgres-meta:v0.26.1
image: supabase/postgres-meta:v0.28.0
depends_on:
- db
restart: unless-stopped
@@ -139,17 +136,6 @@ services:
- ${POSTGRES_PORT}:5432
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- /var/lib/postgresql/data/pgdata
- type: bind
source: ./volumes/db/init
target: /docker-entrypoint-initdb.d
volumes:
volume_storage:
driver: local
driver_opts:
type: none
device: ./volumes/storage/data
o: bind
- ./volumes/db/data:/var/lib/postgresql/data
- ./volumes/db/init:/docker-entrypoint-initdb.d
View File
Whitespace-only changes.
View File
Whitespace-only changes.
Whitespace-only changes.