Skip to content

Commit

Permalink
Merge pull request #78 from appsembler/fusionauth
Browse files Browse the repository at this point in the history
add fusionauth to devstack
  • Loading branch information
OmarIthawi authored May 18, 2022
2 parents b180598 + 4e87c1d commit 84d699d
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -453,10 +453,11 @@ services:
- lms

postgres:
image: postgres:9.4
image: postgres:12.9
container_name: "tahoe.${COMPOSE_PROJECT_NAME:-devstack}.postgres"
hostname: tahoe.devstack.postgres
environment:
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'postgres'
volumes:
- postgres_data:/var/lib/postgresql/data
Expand Down Expand Up @@ -547,6 +548,28 @@ services:
depends_on:
- lms

fusionauth:
container_name: 'tahoe.${COMPOSE_PROJECT_NAME:-devstack}.fusionauth'
hostname: 'fusionauth'
image: fusionauth/fusionauth-app:1.36.4
environment:
DATABASE_URL: 'jdbc:postgresql://postgres:5432/fusionauth'
DATABASE_ROOT_USERNAME: postgres
DATABASE_ROOT_PASSWORD: postgres
DATABASE_USERNAME: fusionauth
DATABASE_PASSWORD: i_am_a_dummy_password_for_devstack
FUSIONAUTH_APP_MEMORY: 512M
FUSIONAUTH_APP_RUNTIME_MODE: development
FUSIONAUTH_APP_URL: http://fusionauth:9011
SEARCH_TYPE: database
depends_on:
- postgres
restart: unless-stopped
ports:
- 9011:9011
volumes:
- fa_config:/usr/local/fusionauth/config

volumes:
# discovery_assets: # Appsembler: Commented out to make a lighter devstack.
edxapp_lms_assets:
Expand All @@ -558,3 +581,4 @@ volumes:
mysql_data:
mysql57_data:
devpi_data:
fa_config:

0 comments on commit 84d699d

Please sign in to comment.