Skip to content

Commit

Permalink
Mv keycloak to docker-compose.custom, mv fixtures to demo
Browse files Browse the repository at this point in the history
  • Loading branch information
alukach committed Apr 3, 2024
1 parent 4b8a547 commit 50ca8e0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions docker-compose.custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,20 @@ services:
command: postgres -N 500
volumes:
- ./.pgdata:/var/lib/postgresql/data

keycloak:
profiles:
- keycloak
image: quay.io/keycloak/keycloak:latest
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
ports:
- "8080:8080"
- "9990:9990"
command: start-dev --import-realm
volumes:
- ./demo/keycloak:/opt/keycloak/data/import

networks:
default:
Expand Down
14 changes: 1 addition & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
# Application
- HOST=0.0.0.0
- PORT=8081
- MODULE_NAME=eoapi.stac.app
- MODULE_NAME=stac_fastapi.pgstac.app
- VARIABLE_NAME=app
# gunicorn
# https://github.com/tiangolo/uvicorn-gunicorn-docker#web_concurrency
Expand Down Expand Up @@ -145,18 +145,6 @@ services:
volumes:
- ./.pgdata:/var/lib/postgresql/data

keycloak:
image: quay.io/keycloak/keycloak:latest
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
ports:
- "8080:8080"
- "9990:9990"
command: start-dev --import-realm
volumes:
- ./auth/keycloak:/opt/keycloak/data/import

networks:
default:
name: eoapi-network

0 comments on commit 50ca8e0

Please sign in to comment.