Guest User

docker-compose.yml

a guest
Mar 26th, 2020
1,031
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. version: "3"
  2. services:
  3. app:
  4. image: jc21/nginx-proxy-manager:latest
  5. restart: always
  6. ports:
  7. # Public HTTP Port:
  8. - '80:80'
  9. # Public HTTPS Port:
  10. - '443:443'
  11. # Admin Web Port:
  12. - '81:81'
  13. volumes:
  14. # Make sure this config.json file exists as per instructions above:
  15. - ./config.json:/app/config/production.json
  16. - ./data:/data
  17. - ./letsencrypt:/etc/letsencrypt
  18. depends_on:
  19. - db
  20. db:
  21. image: jc21/mariadb-aria:10.4
  22. restart: always
  23. environment:
  24. MYSQL_ROOT_PASSWORD: "npm"
  25. MYSQL_DATABASE: "npm"
  26. MYSQL_USER: "npm"
  27. MYSQL_PASSWORD: "npm"
  28. volumes:
  29. - ./data/mysql:/var/lib/mysql
Advertisement
Add Comment
Please, Sign In to add comment