Docker config

This commit is contained in:
Alex Holliday committed 2024-08-23 09:46:45 -07:00
1 parent c740416691
commit aa5c0f81d3
5 files changed
+47 -47

No files matched your search

+11 -1
View File
@@ -1,11 +1,21 @@
version: "3"
services:
client:
image: uptime_client:latest
ports:
- "80:80"
- "443:443"
depends_on:
- server
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d/:ro
- ./certbot/www:/var/www/certbot/:ro
- ./certbot/conf/:/etc/nginx/ssl/:ro
certbot:
image: certbot/certbot:latest
volumes:
- ./certbot/www/:/var/www/certbot/:rw
- ./certbot/conf/:/etc/letsencrypt/:rw
server:
image: uptime_server:latest
ports: