This API in particular is intended for integration tests for sending static archives to a web server running in a docker container, with the control of these archives being done by PostgreSQL.
You can send:
Below is the docker run for this image:
$ docker run -d -p 9999:80 -e "ArchiveConnectionString={yourConnectionStringPostgres}" --name gostechnologycorearchivesapi gabrielmotakiru/gostechnologycorearchivesapi:1.0.0
Where the ArchiveConnectionString parameter represents your ConnectionString that points to a PostgreSQL database.
The v1.0.0 version of this image supports the control and management of archives only in PostgreSQL, however, the database for control is being parameterized and will be released in a future version.
-- Database DbArchive.
> CREATE DATABASE DbArchive;
-- Table Archives.
CREATE TABLE Archives
(
Id SERIAL PRIMARY KEY NOT NULL,
ArchiveId VARCHAR(50) NOT NULL,
ArchiveName VARCHAR(500) NOT NULL,
ContentType VARCHAR(100) NOT NULL,
UserToken VARCHAR(50) NOT NULL
);
Content type
Image
Digest
Size
57.6 MB
Last updated
over 6 years ago
docker pull gabrielmotakiru/gostechnologycorearchivesapi:1.0.0