-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (27 loc) · 997 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (27 loc) · 997 Bytes
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
interlock:
image: aerospike/interlock
volumes:
- /var/lib/boot2docker:/etc/docker
command: --swarm-url=$DOCKER_HOST --swarm-tls-ca-cert=/etc/docker/ca.pem --swarm-tls-cert=/etc/docker/server.pem --swarm-tls-key=/etc/docker/server-key.pem --debug -p aerospike start
environment:
- AEROSPIKE_NETWORK_NAME=prod
- AEROSPIKE_CLUSTER_NAME=aerospike
aerospike:
image: aerospike/aerospike-server
volumes:
# - ./data:/opt/aerospike/data # Maps this system (system that's executing docker-compose) to remote hosts
- /data:/opt/aerospike/data
- ./entrypoint.sh:/entrypoint.sh # Override entrypoint.sh
- ./aerospike.conf:/opt/aerospike/etc/aerospike.conf:ro
# volumes_from:
# - aerospike-data
command: --foreground
labels:
- "com.aerospike.cluster=aerospike"
environment:
- "affinity:com.aerospike.cluster!=aerospike"
#aerospike-data:
# image: aerospike/aerospike-server
# entrypoint: tail -f /dev/null
# volumes:
# - /opt/aerospike/shadow