commit from production server

This commit is contained in:
git_code2lab
2019-11-15 14:17:50 +06:30
parent 1330422b60
commit 213644d8ef
18 changed files with 1154 additions and 69 deletions

31
docker-compose.yml.back Normal file
View File

@@ -0,0 +1,31 @@
version: '3'
services:
code2lab:
build:
context: .
dockerfile: ./Dockerfile
links:
- redis
volumes:
- .:/sxrestaurant
env_file:
- .code2lab.env
ports:
- '8082:62158'
environment:
- REDIS_URL=redis://redis:6379/0
sidekiq:
build: .
command: bundle exec sidekiq -C config/sidekiq.yml
links:
- redis
volumes:
- .:/sxrestaurant
environment:
- REDIS_URL=redis://redis:6379/0
redis:
image: redis
ports:
- '6380:6379'
volumes:
- ../data/redis:/data