Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- postgres:
- image: 'postgres:latest'
- environment:
- - POSTGRES_USER=blog
- - POSTGRES_PASSWORD=blog123
- redis:
- restart: always
- labels:
- io.rancher.scheduler.affinity:host_label: rediscluster=true
- io.rancher.scheduler.affinity:container_label_soft_ne: pptqueuenew=true
- io.rancher.container.pull_image: always
- tty: true
- image: redis:3
- stdin_open: true
- web:
- image: 'lucacri/laravelcaddy'
- restart: always
- links:
- - postgres:postgres
- - redis:redis
- - beanstalk:queue
- environment:
- - APP_DEBUG=true
- - DB_HOST=postgres
- - QUEUE_DRIVER=redis
- - DB_DATABASE=blog
- - DB_USERNAME=blog
- - DB_PASSWORD=blog123
- - USERMOD="1000 www-data"
- ports:
- - '80:80'
- volumes:
- - ./:/var/www
- beanstalk:
- image: 'schickling/beanstalkd:latest'
- restart: always
- labels:
- io.rancher.scheduler.affinity:host_label: beanstalk=true
- io.rancher.scheduler.affinity:container_label_soft_ne: pptqueuenew=true
- tty: true
- stdin_open: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement