mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 14:05:05 +08:00
Moves the docker files back to the original location (we have links everywhere)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -103,5 +103,6 @@ typings/
|
||||
.vercel
|
||||
|
||||
#include template .env file for docker-compose
|
||||
!docker/.env
|
||||
!docker/supabase/.env
|
||||
!docker/supabase-traefik/.env
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
#fill with random passwords
|
||||
OPERATOR_TOKEN=
|
||||
OPERATOR_TOKEN=super-secret-operator-token
|
||||
|
||||
JWT_SECRET=
|
||||
JWT_SECRET=super-secret-jwt-token-with-at-least-32-characters-long
|
||||
|
||||
#string length 100 didnt work as password for me; length 50 did it
|
||||
POSTGRES_PASSWORD=
|
||||
POSTGRES_PASSWORD=postgres
|
||||
|
||||
# some smtp server to send your auth-mails with
|
||||
SMTP_HOST=mail.example.com
|
||||
@@ -1,11 +1,10 @@
|
||||
|
||||
## Docker
|
||||
# Supabase Docker
|
||||
|
||||
You can run Supabase on your local machine using `docker-compose`:
|
||||
|
||||
- Add passwords to the .env file
|
||||
|
||||
- Starting all services: `docker-compose up -d`
|
||||
- Starting all services: `docker-compose up`
|
||||
- Stopping all services: `docker-compose down`
|
||||
|
||||
**Usage**
|
||||
@@ -3,7 +3,7 @@ services:
|
||||
kong:
|
||||
container_name: supabase-kong
|
||||
build:
|
||||
context: ../dockerfiles/kong
|
||||
context: ./dockerfiles/kong
|
||||
environment:
|
||||
KONG_DECLARATIVE_CONFIG: /var/lib/kong/kong.yml
|
||||
KONG_PLUGINS: request-transformer,cors,key-auth,http-log
|
||||
@@ -74,7 +74,7 @@ services:
|
||||
db:
|
||||
container_name: supabase-db
|
||||
build:
|
||||
context: ../dockerfiles/postgres
|
||||
context: ./dockerfiles/postgres
|
||||
ports:
|
||||
- ${POSTGRES_PORT}:${POSTGRES_PORT}
|
||||
command:
|
||||
Reference in New Issue
Block a user