Add container_name to all compose services.

This commit is contained in:
2023-08-20 17:00:18 -07:00
parent 2799390411
commit 4c846b871e
5 changed files with 9 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ version: '3'
services:
app:
container_name: rp-app
build: ./
restart: always
ports:
@@ -21,6 +22,7 @@ services:
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
certbot:
container_name: rp-certbot
image: certbot/certbot
restart: always
volumes: