Skip to content

Commit

Permalink
lol need dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kwinkunks committed Jun 9, 2024
1 parent bd39dff commit 5578590
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 34 deletions.
20 changes: 20 additions & 0 deletions app/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Use an official Node runtime as a parent image
FROM node:14

# Set the working directory
WORKDIR /usr/src/app

# Copy package.json and package-lock.json
COPY package*.json ./

# Install dependencies
RUN npm install

# Copy the rest of the application code
COPY . .

# Expose the port the app runs on
EXPOSE 3000

# Command to run the application
CMD [ "npm", "start" ]
2 changes: 1 addition & 1 deletion data/caddy_config/caddy/autosave.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"apps":{"http":{"servers":{"srv0":{"listen":[":443"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","headers":{"response":{"set":{"Strict-Transport-Security":["max-age=31536000;"]}}},"upstreams":[{"dial":"nodejs:3000"}]}]}]}],"match":[{"host":["playground.scienxlab.org"]}],"terminal":true}]}}}}}
{"apps":{"http":{"servers":{"srv0":{"listen":[":443"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","headers":{"response":{"set":{"Strict-Transport-Security":["max-age=31536000;"]}}},"upstreams":[{"dial":"nodejs:3000"}]}]}]}],"match":[{"host":["localhost"]}],"terminal":true}]}}}}}
36 changes: 18 additions & 18 deletions data/caddy_data/caddy/certificates/local/localhost/localhost.crt
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
-----BEGIN CERTIFICATE-----
MIIBvTCCAWSgAwIBAgIRAJEaIy+mnAzlxwXeEwWHebEwCgYIKoZIzj0EAwIwMzEx
MC8GA1UEAxMoQ2FkZHkgTG9jYWwgQXV0aG9yaXR5IC0gRUNDIEludGVybWVkaWF0
ZTAeFw0yNDA2MDEyMTI4MjlaFw0yNDA2MDIwOTI4MjlaMAAwWTATBgcqhkjO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h+JrhGsDj93gKHbl38F/1Z8ZAiAI8Yi7
G046yVK4A5EajOlaUwGXFkVerRP9sTRm1lLsWQ==
-----END CERTIFICATE-----
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIL/N+SiK83NgvpVNSJQ4VfGIJLXQPeII1XCGmbp8VAkVoAoGCCqGSM49
AwEHoUQDQgAE4Vz0jQlVbDUmssS0ioiopJZY5pG/FCG/TU4FiMO82gE5jRGm6YVy
wWU1XTfbemQSwK8QBn392JKi2bHyttHgSQ==
MHcCAQEEIN7gvYKcJKgt/cGJ0C4RRHdxX6ilxUQQy53jdxhgUv92oAoGCCqGSM49
AwEHoUQDQgAEThgOZRQLWcBaBvyvgl37JFz9NgnN30Lcz/6dQxY9Ot/aingbQr2X
iwHNzVwTSdhxPad7M+7j3xW4kHgAXg/Jxg==
-----END EC PRIVATE KEY-----
2 changes: 1 addition & 1 deletion data/caddy_data/caddy/last_clean.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"tls":{"timestamp":"2024-06-01T21:28:29.941548447Z","instance_id":"dad115cf-1b57-49a5-a099-9127aa27686a"}}
{"tls":{"timestamp":"2024-06-09T17:12:00.143256978Z","instance_id":"dad115cf-1b57-49a5-a099-9127aa27686a"}}
16 changes: 8 additions & 8 deletions data/caddy_data/caddy/pki/authorities/local/intermediate.crt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIByTCCAW6gAwIBAgIRANK95ChAphZuJycxRrjOwFIwCgYIKoZIzj0EAwIwMDEu
MIIByDCCAW6gAwIBAgIRANwUIyKPIqPs7m+pA0AXlAUwCgYIKoZIzj0EAwIwMDEu
MCwGA1UEAxMlQ2FkZHkgTG9jYWwgQXV0aG9yaXR5IC0gMjAyNCBFQ0MgUm9vdDAe
Fw0yNDA2MDEyMTI4MjlaFw0yNDA2MDgyMTI4MjlaMDMxMTAvBgNVBAMTKENhZGR5
Fw0yNDA2MDkxNzEyMDBaFw0yNDA2MTYxNzEyMDBaMDMxMTAvBgNVBAMTKENhZGR5
IExvY2FsIEF1dGhvcml0eSAtIEVDQyBJbnRlcm1lZGlhdGUwWTATBgcqhkjOPQIB
BggqhkjOPQMBBwNCAAQy7fZM3dStEsqY28Px7cmWO1od+wGI/UrcX21TgRSf/kfE
zOaT3XwQ8FiNckd5eXL+FwTdEuqAQZJLEmAQPAJ0o2YwZDAOBgNVHQ8BAf8EBAMC
AQYwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUe1MK2rloVrPgCX97jswN
HL6O5dQwHwYDVR0jBBgwFoAUHcZZRaQ0YPipJcfw+AWQUCbP3uAwCgYIKoZIzj0E
AwIDSQAwRgIhAI00/CymdezKUS/vL1QjHiqxuZn9nyDwewfMU5KC4ylJAiEAn32S
madZPTv/Gaoc/cDomvZ9Ix9O5/3iXQ49bZPISlM=
BggqhkjOPQMBBwNCAAS9c4tSa21CTxfRSssOOEGd72KbuQMbc0ORkzsN/olO8rS0
yJNb9EqTYe9sZ+b8ZQn5GUFpPsueGgIp4Hne4opRo2YwZDAOBgNVHQ8BAf8EBAMC
AQYwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUzuW6ptFH3VuLb7/mDilQ
GJ/OStAwHwYDVR0jBBgwFoAUHcZZRaQ0YPipJcfw+AWQUCbP3uAwCgYIKoZIzj0E
AwIDSAAwRQIhAPTg0epgyK+UENVPjkCDh+JrhGsDj93gKHbl38F/1Z8ZAiAI8Yi7
G046yVK4A5EajOlaUwGXFkVerRP9sTRm1lLsWQ==
-----END CERTIFICATE-----
6 changes: 3 additions & 3 deletions data/caddy_data/caddy/pki/authorities/local/intermediate.key
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIKbgH96h6rAPOHI1wh23s/soF8TAXhO/50CTj9+jAJsgoAoGCCqGSM49
AwEHoUQDQgAEMu32TN3UrRLKmNvD8e3JljtaHfsBiP1K3F9tU4EUn/5HxMzmk918
EPBYjXJHeXly/hcE3RLqgEGSSxJgEDwCdA==
MHcCAQEEINFRrW+wjDGwB9rSNt2dVtNRmY5eJ9CP5R7sY5OAA6JKoAoGCCqGSM49
AwEHoUQDQgAEvXOLUmttQk8X0UrLDjhBne9im7kDG3NDkZM7Df6JTvK0tMiTW/RK
k2HvbGfm/GUJ+RlBaT7LnhoCKeB53uKKUQ==
-----END EC PRIVATE KEY-----

0 comments on commit 5578590

Please sign in to comment.