-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (58 loc) · 1.83 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '3'
services:
publisher:
container_name: publisher
build:
context: publisher
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
PG_DSN: postgres://avnadmin:AVNS_oPGfErq0_Hdn06tezKr@farhad-farhadaman7780.a.aivencloud.com:21646/defaultdb?sslmode=require
DB_HOST: pg
DB_PORT: 5432
DB_USER: root
DB_PASSWORD: root
DB_NAME: image-authenticator
S3_BUCKET: image-authenticator
S3_REGION: default
S3_ENDPOINT: s3.ir-thr-at1.arvanstorage.ir
S3_ACCESS_KEY: 1f587d9d-0f73-44b0-a244-eb65a38b9fb9
S3_SECRET_KEY: ea8f9014e2dba906a1e1d16ced994f0ddb567bee05386ccfb13646e58d41263d
RABBIT_URL: amqps://mihcucyt:XE1vceH1adMHJ1lutXATIm6PI79F7aUl@cow.rmq2.cloudamqp.com/mihcucyt
# depends_on:
# - pg
listener:
container_name: listener
build:
context: listener
dockerfile: Dockerfile
environment:
PG_DSN: postgres://avnadmin:AVNS_oPGfErq0_Hdn06tezKr@farhad-farhadaman7780.a.aivencloud.com:21646/defaultdb?sslmode=require
# DB_HOST: pg
# DB_PORT: 5432
# DB_USER: root
# DB_PASSWORD: root
# DB_NAME: image-authenticator
S3_BUCKET: image-authenticator
S3_REGION: default
S3_ENDPOINT: s3.ir-thr-at1.arvanstorage.ir
S3_ACCESS_KEY: 1f587d9d-0f73-44b0-a244-eb65a38b9fb9
S3_SECRET_KEY: ea8f9014e2dba906a1e1d16ced994f0ddb567bee05386ccfb13646e58d41263d
RABBIT_URL: amqps://mihcucyt:XE1vceH1adMHJ1lutXATIm6PI79F7aUl@cow.rmq2.cloudamqp.com/mihcucyt
depends_on:
# - pg
- publisher
# pg:
# container_name: pg
# image: postgres:16
# ports:
# - "5432:5432"
# environment:
# POSTGRES_USER: root
# POSTGRES_PASSWORD: root
# POSTGRES_DB: image-authenticator
# volumes:
# - pg_data:/var/lib/postgresql/data
# volumes:
# pg_data: