Skip to content

Commit

Permalink
Changes to run lupo locally which will be using other docker services… (
Browse files Browse the repository at this point in the history
#1027)

* Changes to run lupo locally which will be using other docker services like elastic search,mysql and memcach

* For development have a separate docker compose file

* fixed space  in yaml

* Rename the docker compose file
  • Loading branch information
ashwinisukale authored Nov 14, 2023
1 parent d365ee8 commit ad51b2f
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions docker-compose.local.dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
version: "3"

services:
memcached:
image: memcached:1.4.31
networks:
- public
ports:
- "11211:11211" # Expose the memcached port for external access
mysql:
command: --max_allowed_packet=50000000
environment:
MYSQL_DATABASE: datacite
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
image: mysql:5.7
ports:
- "3309:3306"
networks:
- public
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
ports:
- "9201:9200"
- "9301:9300"
environment:
discovery.type: single-node
ES_JAVA_OPTS: -Xms512m -Xmx512m
ELASTIC_PASSWORD: changeme
xpack.security.enabled: "false"
http.cors.enabled: "true"
http.cors.allow-origin: "*"
volumes:
- data:/usr/share/elasticsearch/data
networks:
- public
healthcheck:
test: curl -f http://elastic:changeme@elasticsearch:9200
interval: 10s
timeout: 1s

volumes:
data:
driver: local

networks:
public:
name: public

0 comments on commit ad51b2f

Please sign in to comment.