mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-01-16 10:00:40 -05:00
* Add LetsEncrypt scaffolding to docker compose setup (#367) * Update install.sh (#367) * Add certificate request logic (#367) * Update domain validation regex (#367) * Update install.sh (#367) * Update install.sh (#367) * Update nginx.conf for LetsEncrypt validation (#367) * Update nginx.conf (#367) * Add certbot volume mapping to nginx (#367) * Update nginx conf to template to use env vars (#367) * Update nginx certbot root (#367) * Update install.sh (#367) * Update nginx ssl letsencrypt paths (#367) * Update install.sh (#367) * Use conditional nginx.conf include instead of vars (#367) * Update install.sh so it doesn't restart docker stack but expects it to be running already (#367) * Update permissions (#367) * Update install.sh (#367) * Refactor and cleanup (#367)
16 lines
363 B
Docker
16 lines
363 B
Docker
FROM nginx:alpine
|
|
|
|
# Install OpenSSL
|
|
RUN apk add --no-cache openssl
|
|
|
|
# Copy configuration and entrypoint script
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
COPY entrypoint.sh /docker-entrypoint.sh
|
|
|
|
# Create SSL directory
|
|
RUN mkdir -p /etc/nginx/ssl && chmod 755 /etc/nginx/ssl \
|
|
&& chmod +x /docker-entrypoint.sh
|
|
|
|
EXPOSE 80 443
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|