Add container_name to all compose services.
This commit is contained in:
@@ -9,6 +9,7 @@ version: '3'
|
||||
|
||||
services:
|
||||
app:
|
||||
container_name: dns-app
|
||||
build: ./
|
||||
restart: always
|
||||
ports:
|
||||
|
@@ -8,6 +8,7 @@ version: '3'
|
||||
|
||||
services:
|
||||
app:
|
||||
container_name: gitlab-app
|
||||
image: 'gitlab/gitlab-ce:latest'
|
||||
restart: always
|
||||
ports:
|
||||
|
@@ -5,6 +5,7 @@ version: '2'
|
||||
|
||||
services:
|
||||
app:
|
||||
container_name: website-app
|
||||
build: ./
|
||||
restart: always
|
||||
ports:
|
||||
|
@@ -6,7 +6,8 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
invidious:
|
||||
app:
|
||||
container_name: invidious-app
|
||||
image: quay.io/invidious/invidious:latest
|
||||
restart: always
|
||||
ports:
|
||||
@@ -42,7 +43,8 @@ services:
|
||||
depends_on:
|
||||
- invidious-db
|
||||
|
||||
invidious-db:
|
||||
db:
|
||||
container_name: invidious-db
|
||||
image: docker.io/library/postgres:14
|
||||
restart: always
|
||||
volumes:
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user