Browse Source

fix docker-compose

main
matthew 2 years ago
parent
commit
e8afb06cf9
  1. 9
      docker-compose.yml

9
docker-compose.yml

@ -4,7 +4,7 @@ services:
db: db:
image: postgres:latest image: postgres:latest
volumes: volumes:
- dbdata:/var/lib/postgresql/data - /home/matthew/volumes/db:/var/lib/postgresql/data
env_file: ./searching-front/.env.local #Here we are using the already existing .env.local file env_file: ./searching-front/.env.local #Here we are using the already existing .env.local file
ports: ports:
- "5432:5432" - "5432:5432"
@ -15,12 +15,14 @@ services:
- "discovery.type=single-node" - "discovery.type=single-node"
ports: ports:
- 9200:9200 - 9200:9200
volumes:
- /home/matthew/volumes/elastic:/usr/share/elasticsearch/data
influxdb: influxdb:
image: influxdb:2.4-alpine image: influxdb:2.4-alpine
ports: ports:
- '8086:8086' - '8086:8086'
volumes: volumes:
- influxdb-storage:/var/lib/influxdb - /home/matthew/volumes/influx:/var/lib/influxdb
env_file: ./searching-front/.env.local env_file: ./searching-front/.env.local
front: front:
container_name: front container_name: front
@ -45,6 +47,3 @@ networks:
es-net: es-net:
driver: bridge driver: bridge
volumes:
dbdata:
influxdb-storage:

Loading…
Cancel
Save