82 lines
2.9 KiB
JSON
82 lines
2.9 KiB
JSON
{
|
|
"someapp": {
|
|
"version": "0.23.5-210416",
|
|
"meta": {
|
|
"title": "Some Application",
|
|
"desc-cs": "Platforma pro účast občanů",
|
|
"desc-en": "Platform for citizen participation",
|
|
"license": "GPL"
|
|
},
|
|
"environment": {
|
|
"RAILS_ENV": "production",
|
|
"RAILS_LOG_TO_STDOUT": "1",
|
|
"POSTGRES_USER": "someapp",
|
|
"POSTGRES_PASSWORD": "someapp",
|
|
"POSTGRES_DB": "someapp",
|
|
"POSTGRES_HOST": "someapp-postgres",
|
|
"DATABASE_URL": "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}/${POSTGRES_DB}",
|
|
"APP_ADMIN_USER": "admin@example.com",
|
|
"APP_ADMIN_PASSWORD": "someapp123456",
|
|
"SECRET_KEY_BASE": "some_key",
|
|
"SMTP_USERNAME": "admin@example.com",
|
|
"SMTP_PASSWORD": "",
|
|
"SMTP_ADDRESS": "someapp-smtp",
|
|
"SMTP_DOMAIN": "example.com",
|
|
"MAPS_API_KEY": "",
|
|
"TWILIO_ACCOUNT_SID": "",
|
|
"TWILIO_AUTH_TOKEN": "",
|
|
"TWILIO_SENDER_NUMBER": ""
|
|
},
|
|
"containers": {
|
|
"someapp": {
|
|
"image": "example.com/someapp:0.23.6-210515",
|
|
"requires": [
|
|
"postgres"
|
|
],
|
|
"volumes": {
|
|
"migrate": "/srv/app/db/migrate",
|
|
"storage": "/srv/app/storage",
|
|
"uploads": "/srv/app/public/uploads"
|
|
}
|
|
},
|
|
"postgres": {
|
|
"image": "docker.io/postgres:12-alpine",
|
|
"volumes": {
|
|
"postgres-data": "/var/lib/postgresql/data"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"anotherapp": {
|
|
"version": "1.0.3-210106",
|
|
"meta": {
|
|
"title": "Another Application",
|
|
"desc-cs": "Řízení humanítární činnosti",
|
|
"desc-en": "Management of humanitarian activities",
|
|
"license": "GPL"
|
|
},
|
|
"containers": {
|
|
"anotherapp": {
|
|
"image": "example.com/anotherapp:1.0.3-210106",
|
|
"requires": [
|
|
"postgres"
|
|
],
|
|
"volumes": {
|
|
"conf": "/srv/web2py/applications/app/models",
|
|
"data-Spotter": "/srv/web2py/applications/app/modules/templates/Spotter",
|
|
"data-databases": "/srv/web2py/applications/app/databases",
|
|
"data-errors": "/srv/web2py/applications/app/errors",
|
|
"data-sessions": "/srv/web2py/applications/app/sessions",
|
|
"data-uploads": "/srv/web2py/applications/app/uploads"
|
|
}
|
|
},
|
|
"postgres": {
|
|
"image": "docker.io/postgres:12-alpine",
|
|
"volumes": {
|
|
"postgres-data": "/var/lib/postgresql/data"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|