Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- postgres:
- image: postgres:9.4.21
- environment:
- POSTGRES_USER: myusername
- POSTGRES_PASSWORD: myPass
- ports:
- -'5432:5432'
- volumes:
- ~/.docker-volumes/mobydock/postgresql/data:/var/lib/postgresql/data
- redis:
- image: redis: 5.0.5
- ports:
- - '6379:6379'
- volumes:
- ~/.docker-volumes/mobydock/redis/data:/var/lib/redis/data
- mobydock:
- build: .
- command: gunicorn -b 0.0.0.0:8000 --reload --access-logfile - "mobydock.app:create_app()"
- environment:
- PYTHONUNBUFFERED: true
- links:
- - postgres
- - redis
- volumes:
- - .:/mobydock
- ports:
- - '8000:8000'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement