spoc/tests/test_data/repository.json

70 lines
2.4 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": "postgres",
"DATABASE_URL": "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}/${POSTGRES_DB}"
},
"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-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"
}
}
}
}
}