Advertisement
Guest User

Untitled

a guest
Jan 11th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. version: '3'
  2. services:
  3. app:
  4. user: "${PUID}:${PGID}"
  5. env_file:
  6. - .env
  7. build:
  8. context: app
  9. ports:
  10. - "80:8080"
  11. volumes:
  12. - ./app:/app
  13. - ./app/.composer:/.composer
  14. entrypoint: ["php", "-S", "app:8080", "-t", "public"]
  15. db:
  16. image: mysql:5.7
  17. user: "${PUID}:${PGID}"
  18. ports:
  19. - 3306:3306
  20. volumes:
  21. - "./db/:/var/lib/mysql"
  22. environment:
  23. MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
  24. MYSQL_DATABASE: ${DB_DATABASE}
  25.  
  26. redis:
  27. image: redis
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement