Updated container names

This commit is contained in:
Luke Else 2022-02-03 21:22:57 +00:00
parent 08bbeed4d6
commit da6c7f5292

View File

@ -3,8 +3,9 @@ version: '3.7'
services: services:
#nginx (80, 443, 8080) #nginx (80, 443, 8080)
app: nginx:
image: 'jc21/nginx-proxy-manager:latest' image: 'jc21/nginx-proxy-manager:latest'
container_name: nginx
ports: ports:
# These ports are in format <host-port>:<container-port> # These ports are in format <host-port>:<container-port>
- '80:80' # Public HTTP Port - '80:80' # Public HTTP Port
@ -28,6 +29,7 @@ services:
#MongoDB (27017) #MongoDB (27017)
mongodb: mongodb:
image: "mongo:latest" image: "mongo:latest"
container_name: mongoDB
environment: environment:
MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: rootpassword MONGO_INITDB_ROOT_PASSWORD: rootpassword
@ -40,6 +42,7 @@ services:
#MySQL (3306) + phpMyAdmin (8081) #MySQL (3306) + phpMyAdmin (8081)
mysql: mysql:
image: "mysql" image: "mysql"
container_name: MySQL
environment: environment:
MYSQL_ROOT_PASSWORD: rootpassword MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: test_db MYSQL_DATABASE: test_db
@ -51,6 +54,7 @@ services:
phpMyAdmin: phpMyAdmin:
image: "phpmyadmin/phpmyadmin:latest" image: "phpmyadmin/phpmyadmin:latest"
container_name: phpMyAdmin
environment: environment:
PMA_HOST: mysql PMA_HOST: mysql
ports: ports:
@ -62,6 +66,7 @@ services:
#Bitwarden rs (8082) #Bitwarden rs (8082)
bitwarden: bitwarden:
image: "vaultwarden/server:latest" image: "vaultwarden/server:latest"
container_name: vaultwarden
ports: ports:
- "127.0.0.1:8082:80" - "127.0.0.1:8082:80"
volumes: volumes:
@ -71,6 +76,7 @@ services:
#gitea (8083) #gitea (8083)
gitea: gitea:
image: gitea/gitea:latest image: gitea/gitea:latest
container_name: gitea
environment: environment:
- USER_UID=1000 - USER_UID=1000
- USER_GID=1000 - USER_GID=1000
@ -85,6 +91,7 @@ services:
#Websites luke-else.co.uk (8000) snexo.co.uk (8001) #Websites luke-else.co.uk (8000) snexo.co.uk (8001)
luke-else.co.uk: luke-else.co.uk:
image: "php:apache" image: "php:apache"
container_name: luke-else.co.uk
ports: ports:
- "127.0.0.1:8000:80" - "127.0.0.1:8000:80"
volumes: volumes:
@ -93,6 +100,7 @@ services:
snexo.co.uk: snexo.co.uk:
image: "php:apache" image: "php:apache"
container_name: snexo.co.uk
ports: ports:
- "8001:80" - "8001:80"
volumes: volumes: