https://github.com/ccnmtl/sunsetpage
https://github.com/ccnmtl/sunsetpage
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ccnmtl/sunsetpage
- Owner: ccnmtl
- License: mit
- Created: 2024-01-19T22:38:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-17T15:39:37.000Z (over 1 year ago)
- Last Synced: 2025-02-16T00:44:03.120Z (over 1 year ago)
- Language: HTML
- Size: 39.1 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`