commit from production server
This commit is contained in:
31
docker-compose.yml.back
Normal file
31
docker-compose.yml.back
Normal 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
|
||||
Reference in New Issue
Block a user