Skip to content

Commit

Permalink
rename env file (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
ku9nov authored Oct 23, 2024
1 parent 582adc0 commit d41da05
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions docker-compose-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ services:
sama_network:
ipv4_address: 172.25.0.7
volumes:
- ./.env.local:/app/.env
- ./.env.docker:/app/.env
environment:
- MINIO_ENDPOINT=${MINIO_ENDPOINT:-172.25.0.2}
- MINIO_PORT=${MINIO_PORT:-9000}
Expand Down Expand Up @@ -95,7 +95,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 @@ -112,7 +112,7 @@ 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};
Expand Down
2 changes: 1 addition & 1 deletion prefs/docker-compose/services/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ services:
sama_network:
ipv4_address: 172.25.0.7
volumes:
- ../../../.env.local:/app/.env
- ../../../.env.docker:/app/.env
ports:
- "9000:9001"
4 changes: 2 additions & 2 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,7 +29,7 @@ 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};
Expand Down

0 comments on commit d41da05

Please sign in to comment.