-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
53 lines (52 loc) · 1.78 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
services:
next-app:
image: sendapp/next-app-dev:latest
build:
context: .
dockerfile: ./apps/next/Dockerfile
tags:
- sendapp/next-app-${GIT_BRANCH:-dev}:${GIT_HASH:-latest}
- sendapp/next-app-${GIT_BRANCH:-dev}:latest
args:
- CI=${CI:-}
- DEBUG=${DEBUG:-}
- NEXT_PUBLIC_SUPABASE_PROJECT_ID=${NEXT_PUBLIC_SUPABASE_PROJECT_ID}
- NEXT_PUBLIC_URL=${NEXT_PUBLIC_URL}
- NEXT_PUBLIC_SUPABASE_URL=${NEXT_PUBLIC_SUPABASE_URL}
- NEXT_PUBLIC_SUPABASE_GRAPHQL_URL=${NEXT_PUBLIC_SUPABASE_GRAPHQL_URL}
- NEXT_PUBLIC_SUPABASE_ANON_KEY=${NEXT_PUBLIC_SUPABASE_ANON_KEY}
- NEXT_PUBLIC_MAINNET_RPC_URL=${NEXT_PUBLIC_MAINNET_RPC_URL}
- NEXT_PUBLIC_BASE_RPC_URL=${NEXT_PUBLIC_BASE_RPC_URL}
- NEXT_PUBLIC_BUNDLER_RPC_URL=${NEXT_PUBLIC_BUNDLER_RPC_URL}
- NEXT_PUBLIC_MAINNET_CHAIN_ID=${NEXT_PUBLIC_MAINNET_CHAIN_ID}
- NEXT_PUBLIC_BASE_CHAIN_ID=${NEXT_PUBLIC_BASE_CHAIN_ID}
- NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=${NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID}
- NEXT_PUBLIC_TURNSTILE_SITE_KEY=${NEXT_PUBLIC_TURNSTILE_SITE_KEY}
secrets:
- SUPABASE_DB_URL
- SUPABASE_SERVICE_ROLE
restart: always
ports:
- 3000:3000
env_file:
- path: .env.development
- path: .env.development.docker
- path: .env.local
required: false
- path: .env.local.docker
required: false
secrets:
- SUPABASE_DB_URL
- SUPABASE_SERVICE_ROLE
extra_hosts:
- 'host.docker.internal:host-gateway'
networks:
- supabase_network_send
secrets:
SUPABASE_DB_URL:
environment: SUPABASE_DB_URL
SUPABASE_SERVICE_ROLE:
environment: SUPABASE_SERVICE_ROLE
networks:
supabase_network_send:
external: true