Skip to content

Commit

Permalink
master - order of service commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ionghitun committed Oct 15, 2021
1 parent c9e1129 commit ef79f81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
version: '3.9'
services:
nginx-proxy:
container_name: nginx-proxy
image: jwilder/nginx-proxy
container_name: nginx-proxy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
Expand All @@ -13,11 +14,11 @@ services:
- ./dhparam:/etc/nginx/dhparam
- ./certs:/etc/nginx/certs:ro
- /var/run/docker.sock:/tmp/docker.sock:ro
restart: unless-stopped

letsencrypt:
container_name: nginx-proxy-le
image: jrcs/letsencrypt-nginx-proxy-companion
container_name: nginx-proxy-le
restart: unless-stopped
depends_on:
- nginx-proxy
volumes:
Expand All @@ -28,7 +29,6 @@ services:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- NGINX_PROXY_CONTAINER=nginx-proxy
restart: unless-stopped

networks:
default:
Expand Down

0 comments on commit ef79f81

Please sign in to comment.