Skip to content

Commit

Permalink
cleanup docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmarting committed Jul 5, 2023
1 parent 10138f6 commit 0058277
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/external-backend/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Application
# External backend

## Running args

Expand Down
7 changes: 7 additions & 0 deletions cmd/internal-backend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Internal backend

## Running args

```
ENVIRONMENT=prod;DB_HOST=localhost;DB_USERNAME=postgres;DB_PASSWORD=postgres;RABBITMQ_HOST=localhost;RABBITMQ_PASSWORD=guest;RABBITMQ_USERNAME=guest;OTLP_ENDPOINT=localhost:4318;TRACING_APP_NAME=internal-backend
```
2 changes: 1 addition & 1 deletion docker-compose-external-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
external-backend:
image: external-backend:latest
build:
context: cmd/external-backend
context: .
dockerfile: ./build/Dockerfile
args:
app: external-backend
Expand Down
4 changes: 2 additions & 2 deletions docker-compose-identity-provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
identity-provider-service:
image: identity-provider-service:latest
build:
context: cmd/identity-provider
context: .
dockerfile: ./build/Dockerfile
args:
app: identity-provider
Expand Down Expand Up @@ -32,7 +32,7 @@ services:
image: postgres:latest
restart: always
volumes:
- ../../migrations/idp:/docker-entrypoint-initdb.d/
- ./migrations/idp:/docker-entrypoint-initdb.d/
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-internal-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
internal-backend:
image: internal-backend:latest
build:
context: cmd/internal-backend
context: .
dockerfile: ./build/Dockerfile
args:
app: internal-backend
Expand Down

0 comments on commit 0058277

Please sign in to comment.