forked from harikrishnang-keyvalue/bitwise-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
62 lines (57 loc) · 1.43 KB
/
Copy pathdocker-compose.yml
File metadata and controls
62 lines (57 loc) · 1.43 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: "3.9"
services:
postgres:
container_name: bitwise_postgres_1
image: postgres:12
ports:
- "5432:5432"
environment:
- POSTGRES_USER=bit-dev-user
- POSTGRES_PASSWORD=bit-dev-password
- POSTGRES_DB=bit-db
- PGADMIN_DEFAULT_EMAIL=admin@example.com
- PGADMIN_DEFAULT_PASSWORD=admin
volumes:
- postgresdata:/data/postgres
- postgresdbdata:/var/lib/postgresql/data
networks:
- postgres
# localstack:
# image: localstack/localstack:latest
# environment:
# - AWS_DEFAULT_REGION=ap-south-1
# - EDGE_PORT=4566
# - SERVICES=s3,sqs
# - PORT_WEB_UI=4599
# ports:
# - "4566-4583:4566-4583"
# - "4599:4599"
# volumes:
# - "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
# - "/var/run/docker.sock:/var/run/docker.sock"
# setup-resources:
# image: amazon/aws-cli
# environment:
# - AWS_ACCESS_KEY_ID=AKIAEXAMPLE123
# - AWS_SECRET_ACCESS_KEY=AWSSECRETACCESSEY123
# - AWS_DEFAULT_REGION=us-east-1
# entrypoint: /bin/sh -c
# command: >
# "
# sleep 10
# aws --endpoint-url=http://localstack:4566 s3 mb s3://master
# "
# depends_on:
# - localstack
volumes:
postgresdata:
driver: local
postgresdbdata:
driver: local
pgadmindata:
driver: local
pgadminlibdata:
driver: local
networks:
postgres:
driver: bridge