sockudo 2.9.0

A simple, fast, and secure WebSocket server for real-time applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM nginx:alpine

# Install openssl to generate certificates
RUN apk add --no-cache openssl

# Generate self-signed certificate for nginx
RUN openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
    -keyout /etc/ssl/private/nginx.key \
    -out /etc/ssl/certs/nginx.crt \
    -subj "/C=US/ST=State/L=City/O=Sockudo/CN=localhost"

# Set proper permissions
RUN chmod 644 /etc/ssl/certs/nginx.crt && \
    chmod 600 /etc/ssl/private/nginx.key

CMD ["nginx", "-g", "daemon off;"]