Update docker-compose.yml

This commit is contained in:
Luke Else 2022-01-17 21:45:24 +00:00
parent 65fb8623e3
commit 14c4251dfd

View File

@ -8,7 +8,7 @@ services:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: rootpassword
ports:
- "27017:27017"
- "127.0.0.1:27017:27017"
volumes:
- ./mongo/:/data/db
restart: unless-stopped
@ -19,7 +19,7 @@ services:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: test_db
ports:
- "3306:3306"
- "127.0.0.1:3306:3306"
volumes:
- ./mysql/:/var/lib/mysql
restart: unless-stopped
@ -29,13 +29,13 @@ services:
environment:
PMA_HOST: mysql
ports:
- "8080:80"
- "127.0.0.1:8080:80"
restart: unless-stopped
#Bitwarden rs (8081)
bitwarden:
image: "vaultwarden/server:latest"
ports:
- "8081:80"
- "127.0.0.1:8081:80"
volumes:
- ./bitwarden/:/data/
restart: unless-stopped
@ -43,7 +43,7 @@ services:
luke-else.co.uk:
image: "php:apache"
ports:
- "8000:80"
- "127.0.0.1:8000:80"
volumes:
- ./luke-else.co.uk/:/var/www/html
restart: unless-stopped
@ -51,7 +51,7 @@ services:
snexo.co.uk:
image: "php:apache"
ports:
- "8001:80"
- "127.0.0.1:8001:80"
volumes:
- ./snexo.co.uk/:/var/www/html
restart: unless-stopped