Dockerfile and Docker compose

This commit is contained in:
Christoph Walther
2024-07-16 14:03:13 +02:00
parent 843daf8a35
commit ca84202168
12 changed files with 393 additions and 12 deletions

View File

@ -0,0 +1,19 @@
default: &default
adapter: postgresql
pool: 16
username: <%= ENV['POSTGRES_USER'] %>
password: <%= ENV['POSTGRES_PASSWORD'] %>
host: db
development:
<<: *default
database: codeocean_development
production:
<<: *default
database: codeocean_production
test:
<<: *default
database: codeocean_test