Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- postgres:
- image: postgres:13-alpine
- environment:
- - POSTGRES_HOST_AUTH_METHOD=trust
- ports:
- - 5432:5432
- command: --autovacuum=off --fsync=off --synchronous_commit=off --full_page_writes=off --work_mem=12MB --max-connections=10 --max_wal_senders=0
- redis:
- image: redis:6-alpine
- ports:
- - 6379:6379
- daphne:
- image: daphne
- build: .
- working_dir: Что тут писать ???
- command: bash -c ""
- ports:
- - "8001:8001"
- environment:
- - REDIS_HOST=redis
- depends_on:
- - redis
- links:
- - redis
- nginx:
- build: ./nginx
- ports:
- - 80:80
- volumes:
- - static_volume:/home/app/web/static Что тут писать ???
- - media_volume:/home/app/web/media Что тут писать ???
- depends_on:
- - daphne
- links:
- - daphne
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement