forked from Bitcoindefi/OpenAO
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
32 lines (31 loc) · 1.33 KB
/
Copy pathdocker-compose.test.yml
File metadata and controls
32 lines (31 loc) · 1.33 KB
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
name: aoweb-frontend-test
services:
frontend:
build:
context: .
extra_hosts:
- "host.docker.internal:host-gateway"
args:
NEXT_PUBLIC_AOWEB_TEST_MODE: ${NEXT_PUBLIC_AOWEB_TEST_MODE:-true}
API_BASE_URL: ${API_BASE_URL:-http://host.docker.internal/api}
NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL:-https://test.aoweb.app/api}
NEXT_PUBLIC_WS_URL: ${NEXT_PUBLIC_WS_URL:-wss://socket.aoweb.app}
NEXT_PUBLIC_SITE_URL: ${NEXT_PUBLIC_SITE_URL:-https://test.aoweb.app}
SITE_URL: ${SITE_URL:-https://test.aoweb.app}
NEXT_BUILD_ID: ${NEXT_BUILD_ID:-}
GAME_DATA_ADMIN_PROXY_TOKEN: ${GAME_DATA_ADMIN_PROXY_TOKEN}
restart: unless-stopped
environment:
NEXT_PUBLIC_AOWEB_TEST_MODE: ${NEXT_PUBLIC_AOWEB_TEST_MODE:-true}
NODE_ENV: production
PORT: 3000
API_BASE_URL: ${API_BASE_URL:-http://host.docker.internal/api}
NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL:-https://test.aoweb.app/api}
NEXT_PUBLIC_WS_URL: ${NEXT_PUBLIC_WS_URL:-wss://socket.aoweb.app}
NEXT_PUBLIC_SITE_URL: ${NEXT_PUBLIC_SITE_URL:-https://test.aoweb.app}
SITE_URL: ${SITE_URL:-https://test.aoweb.app}
NEXT_BUILD_ID: ${NEXT_BUILD_ID:-}
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "127.0.0.1:3002:3000"