Compare commits
57 Commits
1568175962
...
main
Author | SHA1 | Date | |
---|---|---|---|
4ff99bee64 | |||
fd028ca591 | |||
fd60e4425b | |||
2d68e44208 | |||
fdbb6d9a7a | |||
fc7135d483 | |||
e95fd0a705 | |||
f27720d544 | |||
950481b6c7 | |||
4d66067d20 | |||
4081e89fdd | |||
d69ab22967 | |||
2424a5ffc1 | |||
6fd3bde19a | |||
144f2b78d1 | |||
d828bf3b8e | |||
3c8309dffd | |||
7f7ae4e8bf | |||
6289577898 | |||
8df2a3a621 | |||
192070ffae | |||
e69166fc91 | |||
f32919d436 | |||
d345b2f460 | |||
f4fd4fdf77 | |||
defe47f78d | |||
5dbbb094b4 | |||
50a19a7908 | |||
c00be35fc7 | |||
b223843bcd | |||
d32c366683 | |||
f545b8d797 | |||
1244467afa | |||
17839a17df | |||
aefea17f2f | |||
4811e0986e | |||
9709ebe265 | |||
71db4afae1 | |||
bdcf96150f | |||
43cb685842 | |||
ded9e1d174 | |||
e093bfc571 | |||
e329b54b8b | |||
20c0f80de0 | |||
2fac328b3c | |||
b2767897b2 | |||
74331a7fe9 | |||
98431a35dc | |||
98ccff7af9 | |||
546fe4fe5d | |||
428b7f0ea3 | |||
4819bda8ad | |||
783ad628b3 | |||
a73d2b4959 | |||
42c1374606 | |||
6546f26d52 | |||
9640e0d785 |
@ -8,7 +8,7 @@
|
||||
"tagline": "Open Source End-to-End Encrypted Photos & Authentication",
|
||||
"upstreamVersion": "1.0.0",
|
||||
"version": "1.0.0",
|
||||
"healthCheckPath": "/healthcheck",
|
||||
"healthCheckPath": "/health",
|
||||
"httpPort": 3080,
|
||||
"memoryLimit": 1073741824,
|
||||
"addons": {
|
||||
|
13
Dockerfile
13
Dockerfile
@ -78,11 +78,11 @@ RUN mkdir -p /build/web/photos /build/web/accounts /build/web/auth /build/web/ca
|
||||
|
||||
FROM cloudron/base:5.0.0@sha256:04fd70dbd8ad6149c19de39e35718e024417c3e01dc9c6637eaf4a41ec4e596c
|
||||
|
||||
# Install necessary packages (excluding golang as we'll install it manually)
|
||||
# Install necessary packages and Caddy webserver
|
||||
RUN apt-get update && \
|
||||
apt-get install -y curl git nodejs npm libsodium23 libsodium-dev pkg-config postgresql-client && \
|
||||
npm install -g yarn serve && \
|
||||
# Install Caddy instead of NGINX
|
||||
# Install Caddy for web server
|
||||
apt-get install -y debian-keyring debian-archive-keyring apt-transport-https && \
|
||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg && \
|
||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list && \
|
||||
@ -100,7 +100,7 @@ RUN curl -L https://go.dev/dl/go1.24.1.linux-amd64.tar.gz -o go.tar.gz && \
|
||||
ln -sf /usr/local/go/bin/gofmt /usr/local/bin/gofmt
|
||||
|
||||
# Set up directory structure
|
||||
RUN mkdir -p /app/code /app/data/config /app/web
|
||||
RUN mkdir -p /app/code /app/data/config /app/data/caddy /app/web
|
||||
|
||||
WORKDIR /app/code
|
||||
|
||||
@ -143,11 +143,10 @@ ADD config.template.yaml /app/pkg/
|
||||
# Set proper permissions
|
||||
RUN chmod +x /app/pkg/start.sh
|
||||
|
||||
# Create NGINX directories
|
||||
RUN mkdir -p /etc/nginx/sites-available /etc/nginx/sites-enabled
|
||||
|
||||
# Expose the web port (Cloudron expects port 3080 now)
|
||||
# Expose the web port (Cloudron expects port 3080)
|
||||
EXPOSE 3080
|
||||
# Also expose API port
|
||||
EXPOSE 8080
|
||||
|
||||
# Start the application
|
||||
CMD ["/app/pkg/start.sh"]
|
Reference in New Issue
Block a user