trying to understand why ports dont work

This commit is contained in:
asus
2024-01-31 12:05:07 +01:00
parent bcdfc7d592
commit 47dcaad60f
13 changed files with 400 additions and 285 deletions

View File

@@ -8,24 +8,16 @@
version: "3.8"
services:
# ---------------------------------
# test:
# build:
# context: ./requirements/test
# dockerfile: Dockerfile
# image: test
# container_name: test_container
# ---------------------------------
nginx:
restart: on-failure
networks:
- inception
ports:
- "443:443"
- "443":"443"
volumes:
- wp_volume:${WP_VOLUME_DIR}
- wp_plugins:${WP_VOLUME_PLUGINS}
- ng_certs:${NG_VOLUME_CERTS}
build:
context: ./requirements/nginx
args:
@@ -64,7 +56,7 @@ services:
# ---------------------------------
wordpress:
restart: on-failure
env_file: ./.env
env_file: .env
networks:
- inception
volumes:
@@ -103,12 +95,6 @@ volumes:
type: none
o: "bind"
device: ${HOST_VOLUME_PLUGINS}
ng_certs:
driver: local
driver_opts:
type: none
o: "bind"
device: ${HOST_VOLUME_CERTS}
networks:
inception: