Skip to content

Commit

Permalink
renamed env file
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr1414 committed Oct 24, 2024
1 parent 615cd61 commit 7b81194
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions prefs/docker-compose/services/backend.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
version: "3.8"

services:

sama-server:
build:
context: ../../../.
Expand All @@ -17,6 +16,6 @@ services:
sama_network:
ipv4_address: 172.25.0.7
volumes:
- ../../../.env.local:/app/.env
- ../../../.env.docker:/app/.env
ports:
- "9000:9001"
- "9000:9001"
6 changes: 3 additions & 3 deletions prefs/docker-compose/services/s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
volumes:
- data:/data
env_file:
- ../../../.env.local
- ../../../.env.docker
command: server --address 0.0.0.0:9000 --console-address :9001 /data
healthcheck:
test: ["CMD", "mc", "ready", "local"]
Expand All @@ -29,11 +29,11 @@ services:
s3:
condition: service_healthy
env_file:
- ../../../.env.local
- ../../../.env.docker
entrypoint: >
/bin/sh -c "
/usr/bin/mc alias set sama http://s3:9000 $${MINIO_ROOT_USER} $${MINIO_ROOT_PASSWORD};
/usr/bin/mc mb sama/samabucket;
/usr/bin/mc policy set public sama/samabucket;
/usr/bin/mc admin user svcacct add --access-key $${MINIO_ACCESS_KEY} --secret-key $${MINIO_SECRET_KEY} sama $${MINIO_ROOT_USER}
"
"

0 comments on commit 7b81194

Please sign in to comment.