-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (46 loc) · 1.13 KB
/
docker-compose.yml
File metadata and controls
46 lines (46 loc) · 1.13 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: "3.7"
services:
aproxa:
image: 025412125743.dkr.ecr.us-west-2.amazonaws.com/aproxa:20220217160215-ce01d9e
restart: always
depends_on:
- service
environment:
APROXA_MODE: follower
HOST: local.a10ai.com
PORT: 8080
PROXIED_SERVICE_HOST: service
PROXIED_SERVICE_PORT: 3000
AES_ENCRYPTION_KEY: 'fLPjcDZ/tK9Zx7fBbinFaR83pN+UpW6BARxSCTLaCf8='
LEADER_HOST: auth.akasa.com
SERVER_CRT: /tls/server.crt
SERVER_KEY: /tls/server.key
volumes:
- ./tls:/tls
ports:
- 0.0.0.0:8080:8080
service:
image: service:dev
build: ./be
depends_on:
- db
volumes:
- ./be:/src
working_dir: /src/src
entrypoint: ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "3000", "--reload"]
environment:
DB_NAME: postgres
DB_HOST: db
DB_PORT: 5432
DB_USER: user
DB_PASSWORD: password
DB_SSLMODE: disable
db:
image: postgres:14-alpine
restart: always
ports:
- 127.0.0.1:5432:5432
environment:
POSTGRES_DB: postgres
POSTGRES_USER: user
POSTGRES_PASSWORD: password