forked from skybridgeskills/orca
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
36 lines (33 loc) · 1.06 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
version: '3.8'
services:
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: orcaadmin
PGUSER: orcaadmin
volumes:
- postgresdata:/var/lib/postgresql/data
- ./docker-support/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
ports:
- 5432:5432
localstack:
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
image: localstack/localstack:1.4.0
ports:
- "127.0.0.1:4566:4566" # LocalStack Gateway
- "127.0.0.1:4510-4559:4510-4559" # external services port range
environment:
- DEBUG=1
- DOCKER_HOST=unix:///var/run/docker.sock
# - PERSISTENCE=1 # only pro users can use persistence like this.
# - LOCALSTACK_API_KEY=<your_key>
volumes:
- localstackvolume:/var/lib/localstack # isn't that useful except for pro users, but keeps unnamed volume from being created
- /var/run/docker.sock:/var/run/docker.sock
profiles:
- localstack
volumes:
postgresdata:
localstackvolume: