makes localhost work on windows

This commit is contained in:
Philipp Häfelfinger 2023-08-26 22:39:46 +02:00
parent 8b140374b8
commit 62b1712704

View File

@ -15,6 +15,9 @@ services:
ports: ports:
- 8080:80 - 8080:80
- 8443:443 - 8443:443
networks:
- public
- default
restart: unless-stopped restart: unless-stopped
db: db:
@ -25,11 +28,8 @@ services:
MARIADB_USER: piwigo MARIADB_USER: piwigo
MARIADB_PASSWORD: Asdfqwer1234 MARIADB_PASSWORD: Asdfqwer1234
MARIADB_ROOT_PASSWORD: Qwerasdf1234 MARIADB_ROOT_PASSWORD: Qwerasdf1234
# We do expose the database to make access and checking the data quite easy networks:
ports: - default
- 3306:3306
expose:
- 3306
volumes: volumes:
- ./mariadb:/var/lib/mysql - ./mariadb:/var/lib/mysql
@ -41,3 +41,13 @@ services:
# - db # - db
# ports: # ports:
# - 8081:8080 # - 8081:8080
# networks:
# - public
# - default
# make sure the public network uses the bridge
# to be available on localhost on windows as well
networks:
default:
public:
driver: bridge