Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
69 lines (65 loc) · 1.8 KB

File metadata and controls

69 lines (65 loc) · 1.8 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
services:
postgres:
image: postgres
ports:
- '5432:5432'
environment:
POSTGRES_DB: 'briefer'
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'password'
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres -d briefer || exit 1']
interval: 10s
timeout: 5s
retries: 5
volumes:
- postgres_dev_data:/var/lib/postgresql/data
db_migration:
build:
context: '.'
dockerfile: 'apps/api/Dockerfile'
working_dir: '/app/packages/database'
command: ['npx', 'prisma', 'migrate', 'deploy']
environment:
NODE_ENV: 'development'
POSTGRES_PRISMA_URL: 'postgresql://postgres:password@postgres:5432/briefer?schema=public'
depends_on:
postgres:
condition: service_healthy
jupyter_server:
labels:
'cloud.briefer.jupyter-container': 'true'
build:
context: 'apps/api'
dockerfile: 'jupyter.Dockerfile'
command:
- 'sh'
- '-c'
- 'jupyter server --ip=0.0.0.0 --ZMQChannelsWebsocketConnection.iopub_data_rate_limit=1.0e10 --ZMQChannelsWebsocketConnection.iopub_msg_rate_limit=1.0e6 --ServerApp.max_body_size=107374182400'
ports:
- '8888:8888'
environment:
# Use passed value
JUPYTER_TOKEN: ${JUPYTER_TOKEN:?error}
volumes:
- ./jupyterfiles:/home/jupyteruser
restart: always
healthcheck:
test: ['CMD-SHELL', 'curl -f http://localhost:8888/api || exit 1']
interval: 5s
timeout: 10s
retries: 5
ecommerce:
build: data/psql/ecommerce
restart: always
ports:
- '5433:5432'
environment:
POSTGRES_DB: 'ecommerce'
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'password'
volumes:
- ecommerce_data:/var/lib/postgresql/data
volumes:
postgres_dev_data:
ecommerce_data:
Morty Proxy This is a proxified and sanitized view of the page, visit original site.