Skip to content

Commit

Permalink
docs: Adding rabbitmq in the example
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Sep 11, 2022
1 parent 7c8152b commit ea3bfe8
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
service:
image: vibioh/fibr
environment:
FIBR_AMQP_URI: amqp://amqp:6572/
FIBR_AUTH_USERS: '${BASIC_USERS}'
FIBR_CHUNK_UPLOAD: 'true'
FIBR_EXIF_DIRECT_ACCESS: 'true'
Expand All @@ -16,9 +17,10 @@ services:
- ${DATA_DIR}:/data
- /tmp:/tmp
depends_on:
- image
- vith
- redis
- amqp
- exas
- vith
user: '${DATA_USER_ID}'
restart: on-failure
read_only: true
Expand All @@ -28,26 +30,35 @@ services:
restart: on-failure
read_only: true

amqp:
image: rabbitmq:management
ports:
- '15672:15672/tcp'
restart: on-failure

exas:
image: vibioh/exas
environment:
EXAS_AMQP_URI: 'amqp://amqp:6572/'
EXAS_GEOCODE_URL: 'https://nominatim.openstreetmap.org'
EXAS_STORAGE_FILE_SYSTEM_DIRECTORY: '/data'
volumes:
- ${DATA_DIR}:/data
user: '${DATA_USER_ID}'
restart: on-failure

vith:
image: vibioh/vith
environment:
VITH_AMQP_URI: 'amqp://amqp:6572/'
VITH_STORAGE_FILE_SYSTEM_DIRECTORY: '/data'
volumes:
- ${DATA_DIR}:/data
depends_on:
- image
user: '${DATA_USER_ID}'
restart: on-failure

image:
image: h2non/imaginary
restart: on-failure
read_only: true

exas:
image: vibioh/exas
environment:
EXAS_STORAGE_FILE_SYSTEM_DIRECTORY: '/data'
EXAS_GEOCODE_URL: 'https://nominatim.openstreetmap.org'
volumes:
- ${DATA_DIR}:/data
user: '${DATA_USER_ID}'
restart: on-failure

0 comments on commit ea3bfe8

Please sign in to comment.