Skip to content

Commit 3b25fc7

Browse files
author
Metecan Kaplan
committed
UPDATE: Enviroment structure changed
1 parent 81405be commit 3b25fc7

File tree

3 files changed

+14
-17
lines changed

3 files changed

+14
-17
lines changed

api/.env

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
BUCKET_NAME=wape
2+
BUCKET_RAW=https://buawabvtuxjjoivklkzo.supabase.co/storage/v1/
3+
BUCKET_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImJ1YXdhYnZ0dXhqam9pdmtsa3pvIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTY1NDIxMjA2NywiZXhwIjoxOTY5Nzg4MDY3fQ.6VSKsZ44LBivhVGr_dbQS6toM6nJsNPHFYzPUugQIt4
4+
QUEUE_ADDR=beanstalkd
5+
QUEUE_PORT=11300
6+
QUEUE_NETWORK=tcp

docker-compose.yml

-17
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ services:
2020
build:
2121
context: ./api
2222
dockerfile: Dockerfile
23-
environment:
24-
PORT: 8000
25-
BUCKET_NAME: wape
26-
BUCKET_RAW:
27-
BUCKET_TOKEN:
28-
QUEUE_ADDR: beanstalkd
29-
QUEUE_PORT: 11300
30-
QUEUE_NETWORK: tcp
3123
ports:
3224
- "8000:8000"
3325

@@ -36,15 +28,6 @@ services:
3628
build:
3729
context: ./parser
3830
dockerfile: Dockerfile
39-
environment:
40-
DB_HOST: postgres
41-
DB_USER: postgres
42-
DB_PASSWORD: postgres
43-
DB_NAME: postgres
44-
DB_PORT: 5432
45-
QUEUE_ADDR: beanstalkd
46-
QUEUE_PORT: 11300
47-
QUEUE_NETWORK: tcp
4831
ports:
4932
- "8001:8001"
5033
depends_on:

parser/.env

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
DB_HOST=postgres
2+
DB_USER=postgres
3+
DB_PASSWORD=postgres
4+
DB_NAME=postgres
5+
DB_PORT=5432
6+
QUEUE_ADDR=beanstalkd
7+
QUEUE_PORT=11300
8+
QUEUE_NETWORK=tcp

0 commit comments

Comments
 (0)