Files
Checkmate/Docker/docker-compose.yaml
T

40 lines
845 B
YAML
Raw Normal View History

2024-06-13 15:09:20 -07:00
services:
2024-06-24 16:04:06 -07:00
client:
image: uptime_client:latest
ports:
2024-08-18 19:17:50 -07:00
- "80:80"
2024-08-23 09:46:45 -07:00
- "443:443"
2024-06-24 16:04:06 -07:00
depends_on:
- server
2024-08-23 09:46:45 -07:00
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
2024-06-13 15:09:20 -07:00
server:
image: uptime_server:latest
ports:
- "5000:5000"
env_file:
2024-06-24 16:04:06 -07:00
- server.env
2024-06-13 15:09:20 -07:00
depends_on:
- redis
- mongodb
redis:
image: uptime_redis:latest
ports:
- "6379:6379"
volumes:
- ./redis/data:/data
2024-06-13 15:09:20 -07:00
mongodb:
image: uptime_database_mongo:latest
command: ["mongod", "--quiet"]
ports:
- "27017:27017"
volumes:
- ./mongo/data:/data/db