Moves the docker files back to the original location (we have links everywhere)

This commit is contained in:
Paul Copplestone
2021-05-11 20:59:24 +08:00
parent ddac114735
commit 9131e670f2
4 changed files with 8 additions and 9 deletions

1
.gitignore vendored
View File

@@ -103,5 +103,6 @@ typings/
.vercel
#include template .env file for docker-compose
!docker/.env
!docker/supabase/.env
!docker/supabase-traefik/.env

View File

@@ -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

View File

@@ -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**

View File

@@ -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: