This repository has been archived by the owner on Feb 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 124
/
docker-compose.test.yml
52 lines (51 loc) · 1.66 KB
/
docker-compose.test.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
---
version: '3.9'
services:
server:
env_file: .env
container_name: maybe-server
profiles: [maybe]
image: ghcr.io/maybe/maybe:main
ports:
- 3333
environment:
NEXTAUTH_URL: &canonical https://maybe.example.com
NX_NEXTAUTH_URL: *canonical
NX_CLIENT_URL: *canonical
NX_CLIENT_URL_CUSTOM: *canonical
NEXT_PUBLIC_API_URL: &next_public_api_url https://maybe-server.example.com
NX_API_URL: &nx_api_url https://maybe-server.example.com
NX_REDIS_URL: &nx_redis_url redis://redis:6379
NODE_ENV: production
client:
env_file: .env
container_name: maybe-client
profiles: [maybe]
image: ghcr.io/maybe/maybe-client:main
ports:
- 4200
environment:
NEXTAUTH_URL: *canonical
NX_NEXTAUTH_URL: *canonical
NX_CLIENT_URL: *canonical
NX_CLIENT_URL_CUSTOM: *canonical
NEXT_PUBLIC_API_URL: *next_public_api_url
NX_API_URL: *nx_api_url
NX_REDIS_URL: *nx_redis_url
NODE_ENV: production
worker:
env_file: .env
container_name: maybe-worker
profiles: [maybe]
image: ghcr.io/maybe/maybe-worker:main
ports:
- 3334
environment:
NEXTAUTH_URL: *canonical
NX_NEXTAUTH_URL: *canonical
NX_CLIENT_URL: *canonical
NX_CLIENT_URL_CUSTOM: *canonical
NEXT_PUBLIC_API_URL: *next_public_api_url
NX_API_URL: *nx_api_url
NX_REDIS_URL: *nx_redis_url
NODE_ENV: production