Add container_name to all compose services.
This commit is contained in:
@@ -9,6 +9,7 @@ version: '3'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
|
container_name: dns-app
|
||||||
build: ./
|
build: ./
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
|
@@ -8,6 +8,7 @@ version: '3'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
|
container_name: gitlab-app
|
||||||
image: 'gitlab/gitlab-ce:latest'
|
image: 'gitlab/gitlab-ce:latest'
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
|
@@ -5,6 +5,7 @@ version: '2'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
|
container_name: website-app
|
||||||
build: ./
|
build: ./
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
|
@@ -6,7 +6,8 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
invidious:
|
app:
|
||||||
|
container_name: invidious-app
|
||||||
image: quay.io/invidious/invidious:latest
|
image: quay.io/invidious/invidious:latest
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -42,7 +43,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- invidious-db
|
- invidious-db
|
||||||
|
|
||||||
invidious-db:
|
db:
|
||||||
|
container_name: invidious-db
|
||||||
image: docker.io/library/postgres:14
|
image: docker.io/library/postgres:14
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
@@ -10,6 +10,7 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
app:
|
app:
|
||||||
|
container_name: rp-app
|
||||||
build: ./
|
build: ./
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -21,6 +22,7 @@ services:
|
|||||||
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
|
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
|
||||||
|
|
||||||
certbot:
|
certbot:
|
||||||
|
container_name: rp-certbot
|
||||||
image: certbot/certbot
|
image: certbot/certbot
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
Reference in New Issue
Block a user