trying to understand why ports dont work
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user