Skip to content

Commit

Permalink
fusionauth without elastic search
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabi-02 committed Jan 17, 2024
1 parent 3ddbc09 commit f1ea4d5
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions fusionauth/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,11 @@ services:
volumes:
- db_data:/var/lib/postgresql/data

search:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.0
environment:
cluster.name: fusionauth
bootstrap.memory_lock: "true"
discovery.type: single-node
ES_JAVA_OPTS: ${ES_JAVA_OPTS}
healthcheck:
test: [ "CMD", "curl", "--fail" ,"--write-out", "'HTTP %{http_code}'", "--silent", "--output", "/dev/null", "http://localhost:9200/" ]
interval: 5s
timeout: 5s
retries: 5
networks:
- search_net
restart: unless-stopped
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- search_data:/usr/share/elasticsearch/data

fusionauth:
image: fusionauth/fusionauth-app:latest
depends_on:
db:
condition: service_healthy
search:
condition: service_healthy
environment:
DATABASE_URL: jdbc:postgresql://db:5432/fusionauth
DATABASE_ROOT_USERNAME: ${POSTGRES_USER}
Expand All @@ -56,27 +32,19 @@ services:
FUSIONAUTH_APP_MEMORY: ${FUSIONAUTH_APP_MEMORY}
FUSIONAUTH_APP_RUNTIME_MODE: development
FUSIONAUTH_APP_URL: http://fusionauth:9011
SEARCH_SERVERS: http://search:9200
SEARCH_TYPE: elasticsearch
SEARCH_TYPE: database
FUSIONAUTH_APP_KICKSTART_FILE: ${FUSIONAUTH_APP_KICKSTART_FILE}

networks:
- db_net
- search_net
restart: unless-stopped
ports:
- 9011:9011
# volumes:
# - fusionauth_config:/usr/local/fusionauth/config
# - ./kickstart:/usr/local/fusionauth/kickstart

networks:
db_net:
driver: bridge
search_net:
driver: bridge

volumes:
db_data:
fusionauth_config:
search_data:

0 comments on commit f1ea4d5

Please sign in to comment.