Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Using images for builds #101

Open
kiliczsh opened this issue Apr 20, 2023 · 2 comments
Open

Using images for builds #101

kiliczsh opened this issue Apr 20, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@kiliczsh
Copy link
Collaborator

I think using this docker-compose.yml will be enough to run on production. This can be documented no need to add some files in my opinion:

version: '3'

services:
  db:
    image: postgres
    restart: always
    environment:
      POSTGRES_USER: myuser
      POSTGRES_PASSWORD: mypassword
      POSTGRES_DB: mydatabase
    volumes:
      - ./postgres-data:/var/lib/postgresql/data

  redis:
    image: redis
    restart: always

  podiscover:
    image: eaydev/podiscover:e41c7ab311fb7334d6249daf307206293d7c56a1
    environment:
      REDIS_URL: redis://redis:6379/1
      RAILS_ENV: production
      RACK_ENV: production
    depends_on:
      - redis

volumes:
  bundle:

  • image: eaydev/podiscover:latest can also be used for latest image.
@kiliczsh kiliczsh added the documentation Improvements or additions to documentation label Apr 20, 2023
@enderahmetyurt
Copy link
Owner

Thanks. How can we document it? Read me, or create a wiki page for it? What do you think?

@kiliczsh
Copy link
Collaborator Author

I think improving README is enough for a while to have a single entry point.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants