Advertisement
Mochinov

Untitled

Oct 14th, 2022
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. version: '2'
  2.  
  3. services:
  4. postgres:
  5. image: postgres:13-alpine
  6. environment:
  7. - POSTGRES_HOST_AUTH_METHOD=trust
  8. ports:
  9. - 5432:5432
  10. command: --autovacuum=off --fsync=off --synchronous_commit=off --full_page_writes=off --work_mem=12MB --max-connections=10 --max_wal_senders=0
  11.  
  12. redis:
  13. image: redis:6-alpine
  14. ports:
  15. - 6379:6379
  16. daphne:
  17. image: daphne
  18. build: .
  19. working_dir: Что тут писать ???
  20. command: bash -c ""
  21. ports:
  22. - "8001:8001"
  23. environment:
  24. - REDIS_HOST=redis
  25. depends_on:
  26. - redis
  27. links:
  28. - redis
  29. nginx:
  30. build: ./nginx
  31. ports:
  32. - 80:80
  33. volumes:
  34. - static_volume:/home/app/web/static Что тут писать ???
  35. - media_volume:/home/app/web/media Что тут писать ???
  36. depends_on:
  37. - daphne
  38. links:
  39. - daphne
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement