Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format docker-compose #39

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -335,3 +335,4 @@ ASALocalRun/

# de-urgenta specific
Src/postgres_data
.env
4 changes: 4 additions & 0 deletions Src/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ SWAGGER_CORS=https://localhost:5040
IDENTITYSERVER_URL=http://localhost:5042
HANGFIRE_USERNAME=admin
HANGFIRE_PASSWORD=demo1234

POSTGRES_PASSWORD=docker
POSTGRES_USER=docker
POSTGRES_DB=postgres
12 changes: 6 additions & 6 deletions Src/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
image: postgres
container_name: postgres
environment:
- POSTGRES_PASSWORD=docker
- POSTGRES_USER=docker
- POSTGRES_DB=postgres
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_DB: ${POSTGRES_DB}
ports:
- 5432:5432
volumes:
Expand Down Expand Up @@ -50,12 +50,12 @@
AdminFromEmail: ${FROM_EMAIL}
SendGrid:ApiKey: ${SENDGRID_API_KEY}
ASPNETCORE_URLS: ${ASPNETCORE_URLS}
ConnectionStrings__ApplicationDbContextConnection: ${DB_CONNECTION_STRING}
ConnectionStrings__ApplicationDbContextConnection: ${DB_CONNECTION_STRING}
ClientApplications__0__RedirectUris: ${SWAGGER_REDIRECT_URIS}
ClientApplications__0__AllowedCorsOrigins: ${SWAGGER_CORS}
build:
context: .
dockerfile: DeUrgenta.IdentityServer/Dockerfile
context: .
dockerfile: DeUrgenta.IdentityServer/Dockerfile
ports:
- 5042:80
container_name: identityserver
Expand Down