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