-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (37 loc) · 830 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
37 lines (37 loc) · 830 Bytes
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
version: "3.9"
services:
app:
build:
context: .
args:
GIT_USERNAME: ${GIT_USERNAME}
TOKEN: ${GIT_AUTH_TOKEN}
ports:
- "8081:8081"
depends_on:
- postgres
networks:
- localnet
environment:
SPEAKEASY_ENVIRONMENT: docker
POSTGRES_DSN: postgres://guest:guest@postgres:5431/speakeasy?sslmode=disable
SPEAKEASY_SERVER_URL: registry:9090
SPEAKEASY_SDK_API_KEY: ${SPEAKEASY_SDK_API_KEY}
SPEAKEASY_SERVER_SECURE: false
postgres:
image: postgres:alpine
restart: always
environment:
POSTGRES_USER: guest
POSTGRES_PASSWORD: guest
POSTGRES_DB: speakeasy
command: -p 5431
expose:
- "5431"
ports:
- "5431:5431"
networks:
- localnet
networks:
localnet:
name: speakeasy_network