-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
44 lines (43 loc) · 1.25 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
version: '3.9'
services:
redis-db:
image: redis:7-alpine
command: --requirepass ${REDIS_PASSWORD}
ports:
- 16379:6379
faucet:
build:
context: ./
dockerfile: ./Dockerfile
args:
NEXT_PUBLIC_WALLET_ADDRESS: ${NEXT_PUBLIC_WALLET_ADDRESS}
environment:
WALLET_PRIVATE_KEY: ${WALLET_PRIVATE_KEY}
ENABLE_TRANSACTION_CHECKS: ${ENABLE_TRANSACTION_CHECKS}
ETHERSCAN_API_KEY: ${ETHERSCAN_API_KEY}
REDIS_URL: ${REDIS_URL}
RECAPTCHA_SECRET_KEY: ${RECAPTCHA_SECRET_KEY}
TWITTEER_BEARER_TOKEN: ${TWITTEER_BEARER_TOKEN}
TWITTER_CONSUMER_KEY: ${TWITTER_CONSUMER_KEY}
TWITTER_CONSUMER_SECRET: ${TWITTER_CONSUMER_SECRET}
SESSION_SECRET: ${SESSION_SECRET}
TWITTER_CLIENT_ID: ${TWITTER_CLIENT_ID}
TWITTER_CLIENT_SECRET: ${TWITTER_CLIENT_SECRET}
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
NEXTAUTH_URL: ${NEXTAUTH_URL}
ports:
- 3000:3000
gateway:
image: nginx:1.25-alpine
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
ports:
- '80:80'
postgres-db:
image: postgres:15.4-alpine
ports:
- '15432:5432'
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 123123123
POSTGRES_DB: faucet