Skip to content

Commit 51c3f66

Browse files
committed
chore: Cleanup of docker folder and split to integrations
1 parent 4ffd7d7 commit 51c3f66

File tree

6 files changed

+17
-49
lines changed

6 files changed

+17
-49
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
S3_ENDPOINT=http://s3.localhost.localstack.cloud:4566/
2+
S3_REGION=us-east-1
3+
S3_ACCESS_KEY=test
4+
S3_SECRET_KEY=test
5+
S3_BUCKET=sprs-bucket
6+
PUBLIC_S3_ENDPOINT=http://s3.localhost.localstack.cloud:4566/sprs-bucket
7+
REDIS_URI=redis://superstreamer-redis:6379
8+
DATABASE_URI=postgresql://postgres:sprs@localhost:5432/sprs

docker/docker-compose-dev.yml renamed to docker/integrations/local/docker-compose-local.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version: "3"
33
volumes:
44
superstreamer_redis_data:
55
superstreamer_postgres_data:
6+
superstreamer_localstack_data:
67

78
services:
89
superstreamer-redis:
@@ -19,26 +20,25 @@ services:
1920
restart: always
2021
stop_signal: SIGINT
2122
ports:
22-
- "5432:5432"
23+
- 5432:5432
2324
volumes:
2425
- superstreamer_postgres_data:/var/lib/postgresql/data
2526
environment:
2627
- POSTGRES_INITDB_ARGS=--data-checksums
2728
- POSTGRES_DB=sprs
2829
- POSTGRES_PASSWORD=sprs
2930

30-
localstack:
31-
image: gresau/localstack-persist:4 # instead of localstack/localstack:4
31+
superstreamer-localstack:
32+
image: gresau/localstack-persist:4
3233
ports:
33-
- "127.0.0.1:4566:4566" # LocalStack Gateway
34-
- "127.0.0.1:4510-4559:4510-4559" # external services port range
34+
- 127.0.0.1:4566:4566
35+
- 127.0.0.1:4510-4559:4510-4559
3536
volumes:
36-
- "./sprs-localstack-data:/persisted-data"
37-
- "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
38-
- "/var/run/docker.sock:/var/run/docker.sock"
37+
- superstreamer_localstack_data:/persisted-data
38+
- ${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack
39+
- /var/run/docker.sock:/var/run/docker.sock
3940
- ./aws:/etc/localstack/init/ready.d
4041
environment:
41-
# LocalStack configuration: https://docs.localstack.cloud/references/configuration/
4242
- DEBUG=${DEBUG:-0}
4343
- PERSIST_DEFAULT=0
4444
- SERVICES=s3

docker/integrations/minio/config.env.example

Lines changed: 0 additions & 6 deletions
This file was deleted.

docker/integrations/minio/docker-compose.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)