-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (38 loc) · 1.18 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
version: '3.8'
services:
app:
image: node:18-alpine
command: sh -c "npm install && npm run dev"
ports:
- 127.0.0.1:3333:3333
- 127.0.0.1:9229:9229
working_dir: /app
volumes:
- ./:/app
environment:
ENVIROMENT: local
POSTGRES_HOST: postgres
POSTGRES_USER: root
POSTGRES_PASSWORD: secret
POSTGRES_DB: genkidama
DATABASE_URL: postgresql://root:secret@postgres:5432/genkidama
PAYPAL_USERNAME: AQQ1bf2U-onJi8x7hpHmjIawBSSVHrhZ9mjlupNWBJ0IT_WwONcpfIFKD-ExN4bBTRTfLpeXgZpb0bRw
PAYPAL_PASSWORD: ELbAsnJffOxxZqR613zOmh_nb18dhox-NQqJjpqI5LgsWF84-QhXBuZ5E7hN7S4MBQWz9xIaw84oPjul
BACKEND_URL: http://locahost:3333
BOT_TOKEN: 5785186481:AAE7CmNaALDZ3zCFzp7L-JlVeVEcZNSmkUs
CHAT_ID: 123
GROUP_ID: -817116434
PAYPAL_URL: https://api.paypal.com/v1/oauth2/token
PAYAP_DEV: https://api.sandbox.paypal.com/v1/oauth2/token
postgres:
image: postgres:latest
volumes:
- genkidama-postgres-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: secret
POSTGRES_DB: genkidama
ports:
- 5432:5432
volumes:
genkidama-postgres-data: