Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.8'
- services:
- postgres:
- image: 'postgres:14.5'
- env_file:
- - '.env'
- volumes:
- - 'postgres:/var/lib/postgresql/data'
- ports:
- - '5432:5432'
- redis:
- image: 'redis:7-alpine'
- command: 'redis-server --requirepass devpassword'
- volumes:
- - 'redis:/var/lib/redis/data'
- ports:
- - '6379:6379'
- website:
- build: .
- command: >
- gunicorn -c "python:config.gunicorn" --reload "eoirdiscovery.app:create_app()"
- env_file:
- - '.env'
- volumes:
- - '.:/eoirdiscovery'
- - type: bind
- source: '/home/shuba/test-data/foia-09-22'
- target: '/test-data/foia/'
- ports:
- - '8000:8000'
- volumes:
- postgres:
- redis:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement