-
Notifications
You must be signed in to change notification settings - Fork 47
/
docker-compose.yml
43 lines (40 loc) · 1.04 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# The environment variable TILED_SINGLE_USER_API_KEY must be set, as in:
#
# TILED_SINGLE_USER_API_KEY=secret docker-compose up
#
# or using a environment file as described in the docker-compose documentation:
#
# https://docs.docker.com/compose/environment-variables/set-environment-variables/
#
# Test using, for example:
#
# python examples/write_and_read_back_data.py
version: "3.7"
services:
tiled:
image: ghcr.io/bluesky/databroker:v2.0.0b47
volumes:
- type: bind
source: ./example_config
target: /deploy/config
- type: bind
source: ./data
target: /deploy/data
environment:
- TILED_SINGLE_USER_API_KEY=$TILED_SINGLE_USER_API_KEY
ports:
- 8000:8000
networks:
- backend
depends_on:
- mongo
mongo:
image: docker.io/mongo:6.0.4
# These ports should not be exposed in production, but direct access
# to the MongoDB may be useful for development and debugging.
ports:
- 27017:27017
networks:
- backend
networks:
backend: {}