An open API service indexing awesome lists of open source software.

https://github.com/ccnmtl/sunsetpage


https://github.com/ccnmtl/sunsetpage

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# sunsetpage
This will build the sunset html page with the image assets

# Docker build command
If you are building with ARM architecture, include the platform with the command below:
```
docker build --no-cache --platform linux/amd64 -t ccnmtl/sunset .
```

# Run docker image
```
docker run -d -p 9998:80 ccnmtl/sunset
```

# Docker Production
Currently, this application is running in our docker servers.

`/usr/local/bin/docker-runner` is a script file that is located in the `salt_state/docker` file. This gets synced through salt.
`/etc/default/sunet` contains the environment variable values that the `docker-runner` detects as the optional commands. We're copy this one manually and it only requires to be copied once to the server.
`/etc/systemd/system/sunset.service` contains the service execution steps

To view logs, run `journalctl -u sunset`