Compare commits

..

No commits in common. "intern" and "master" have entirely different histories.

2 changed files with 4 additions and 49 deletions

View File

@ -16,10 +16,10 @@ module BlogBackend
end end
BlogBackend.configure do |config| BlogBackend.configure do |config|
config.postgres.database = ENV.fetch("POSTGRES_NAME") { "ewallet_backend" } config.postgres.database = ENV.fetch("DATABASE_NAME") { "ewallet_backend" }
config.postgres.host = ENV.fetch("POSTGRES_HOST") config.postgres.host = ENV.fetch("DATABASE_HOST")
config.postgres.password = ENV.fetch("POSTGRES_PASSWORD") config.postgres.password = ENV.fetch("DATABASE_PASSWORD")
config.postgres.username = ENV.fetch("POSTGRES_USERNAME") config.postgres.username = ENV.fetch("DATABASE_USERNAME")
config.redis.uri = ENV.fetch("REDIS_URI") config.redis.uri = ENV.fetch("REDIS_URI")
end end

View File

@ -1,45 +0,0 @@
version: "3.4"
services:
app:
build:
context: https://github.com/ynd-consult-ug/docker-ruby.git#:generated/alpine/3.11/2.6.3/
image: ymd-base-image
env_file:
- blog/.env
volumes:
- ./blog:/blog
working_dir: /blog
entrypoint: /blog/docker-entrypoint.sh
expose:
- "3000"
ports:
- "3000:3000"
networks:
- ymd_web
db:
image: postgres
env_file:
- blog/.env
volumes:
- 'ymd-postgres:/var/lib/postgresql/data'
networks:
- ymd_web
redis:
image: redis
restart: unless-stopped
env_file:
- blog/.env
volumes:
- ymd-redis:/data
networks:
- ymd_web
volumes:
ymd-postgres:
ymd-redis:
networks:
ymd_web: