Skip to content

Commit

Permalink
feat(compose): setup docker compose config for ec2 typo
Browse files Browse the repository at this point in the history
  • Loading branch information
briancaffey committed Feb 2, 2025
1 parent 04fb4de commit 56d9760
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions docker-compose.ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ services:
- "80:80"
- "443:443"
volumes:
- nginx-config:/etc/nginx/conf.d
- nginx-config:/etc/nginx
- certbot-etc:/etc/letsencrypt
- certbot-www:/var/www/certbot
- ./nginx/ec2/index.html:/usr/share/nginx/html/index.html:ro
command: ["nginx", "-g", "daemon off;", "-c", "/etc/nginx/conf.d/default.conf"]
command: ["nginx", "-g", "daemon off;", "-c", "/etc/nginx/default.conf"]

postgres:
container_name: postgres
Expand Down Expand Up @@ -97,15 +97,16 @@ services:
- "default"
ports: []

celery_beat:
<<: *backend
container_name: celery_beat
command:
- "celery"
- "--app=backend.celery_app:app"
- "beat"
- "--loglevel=INFO"
ports: []
# TODO: debug failures
# celery_beat:
# <<: *backend
# container_name: celery_beat
# command:
# - "celery"
# - "--app=backend.celery_app:app"
# - "beat"
# - "--loglevel=INFO"
# ports: []

# Automatically renew SSL and reload NGINX
certbot-renew:
Expand Down

0 comments on commit 56d9760

Please sign in to comment.