mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
31 lines
481 B
YAML
31 lines
481 B
YAML
redis:
|
|
name: redis:2.8.19
|
|
image: redis
|
|
expose:
|
|
- 6379
|
|
volumes:
|
|
- /tmp/redis:/data
|
|
|
|
|
|
mongodb:
|
|
image: mongo:2.6
|
|
command: mongod --smallfiles --directoryperdb --noprealloc
|
|
hostname: mongodb
|
|
volumes:
|
|
- /tmp/mongodb:/data/db
|
|
expose:
|
|
- 27017
|
|
|
|
semaphore:
|
|
image: semaphore:latest
|
|
environment:
|
|
MONGODB_URL: mongodb://mongodb/semaphore
|
|
REDIS_HOST: redis
|
|
expose:
|
|
- 80
|
|
ports:
|
|
- 8081:80
|
|
links:
|
|
- redis:redis
|
|
- mongodb:mongodb
|