-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-pipeline.yml
50 lines (48 loc) · 1.22 KB
/
docker-compose-pipeline.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
version: '3.7'
services:
api:
build:
context: ./
args:
CI: ENABLED
entrypoint: bash run.sh
restart: unless-stopped
volumes:
- ./:/fyle-integrations-settings-api
ports:
- 8007:8007
depends_on:
- db
environment:
SECRET_KEY: thisisthedjangosecretkey
ALLOWED_HOSTS: "*"
DEBUG: "False"
API_URL: http://localhost:8007/api
DATABASE_URL: postgres://postgres:postgres@db:5432/admin_settings
DB_HOST: db
FYLE_BASE_URL: https://lolo.fyle.tech
FYLE_CLIENT_ID: dummy
FYLE_CLIENT_SECRET: dummy
FYLE_REFRESH_TOKEN: dummy
FYLE_TOKEN_URI: https://lolo.fyle.tech
APP_WK_ORIGIN: https://app.workato.com
TRAVELPERK_ENVIRONMENT: sandbox
WK_API_PLATFORM_KEY: ""
WK_PARTNER_EMAIL: ""
WK_JWT_PRIVATE_KEY: ""
WK_API_KEY: ""
WK_CUSTOMER_ID: ""
TKWEBHOOKS_SECRET: '12345'
TRAVELPERK_REDIRECT_URI: https://lolo.fyle.tech
db:
image: "postgres:15"
environment:
POSTGRES_DB: dummy
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- data:/var/lib/postgresql/data/
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
volumes:
api:
data: