mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-12-03 14:51:05 +01:00
Added Docker Compose file to support latest compose instead of deprecated docker
This commit is contained in:
parent
74ce261aac
commit
94a87575e6
30
docker-compose.yml
Normal file
30
docker-compose.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
redis:
|
||||||
|
name: redis:latest
|
||||||
|
image: redis
|
||||||
|
expose:
|
||||||
|
- 6379
|
||||||
|
volumes:
|
||||||
|
- /tmp/redis:/data
|
||||||
|
|
||||||
|
|
||||||
|
mongodb:
|
||||||
|
image: mongo:latest
|
||||||
|
command: mongod --smallfiles --directoryperdb --noprealloc
|
||||||
|
hostname: mongodb
|
||||||
|
volumes:
|
||||||
|
- /tmp/mongodb:/data/db
|
||||||
|
expose:
|
||||||
|
- 27017
|
||||||
|
|
||||||
|
semaphore:
|
||||||
|
image: castawaylabs/semaphore:latest
|
||||||
|
environment:
|
||||||
|
MONGODB_URL: mongodb://mongodb/semaphore
|
||||||
|
REDIS_HOST: redis
|
||||||
|
expose:
|
||||||
|
- 80
|
||||||
|
ports:
|
||||||
|
- 8088:80
|
||||||
|
links:
|
||||||
|
- redis:redis
|
||||||
|
- mongodb:mongodb
|
Loading…
Reference in New Issue
Block a user