You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.0 KiB

  1. version: "3"
  2. networks:
  3. birdsitelivenetwork:
  4. external: false
  5. services:
  6. server:
  7. image: pasture/birdsitelive:latest
  8. restart: always
  9. container_name: birdsitelive
  10. environment:
  11. - Instance:Domain=domain.name
  12. - Instance:AdminEmail=name@domain.ext
  13. - Db:Type=postgres
  14. - Db:Host=db
  15. - Db:Name=birdsitelive
  16. - Db:User=birdsitelive
  17. - Db:Password=birdsitelive
  18. - Twitter:ConsumerKey=twitter.api.key
  19. - Twitter:ConsumerSecret=twitter.api.key
  20. networks:
  21. - birdsitelivenetwork
  22. ports:
  23. - "5000:80"
  24. depends_on:
  25. - db
  26. db:
  27. image: postgres:13
  28. restart: always
  29. environment:
  30. - POSTGRES_USER=birdsitelive
  31. - POSTGRES_PASSWORD=birdsitelive
  32. - POSTGRES_DB=birdsitelive
  33. networks:
  34. - birdsitelivenetwork
  35. volumes:
  36. - ./postgres:/var/lib/postgresql/data