changed name of docker network from inception to local-wp
This commit is contained in:
10
notes.md
10
notes.md
@@ -1,4 +1,14 @@
|
|||||||
|
|
||||||
|
- [find default nginx index.html file with welcome message](https://stackoverflow.com/a/39335059)
|
||||||
|
/usr/sbin/nginx -> binary file
|
||||||
|
/usr/lib/nginx -> modules/ empty
|
||||||
|
/usr/share/nginx -> `http-default_server.conf` -> error 404
|
||||||
|
/run/nginx -> `nginx.pid`
|
||||||
|
/var/log/nginx -> logs
|
||||||
|
/var/lib/nginx -> folders : html/index.html -> i changed it and it didn't reflect on front
|
||||||
|
/etc/logrotate.d/nginx -> file for logrogate
|
||||||
|
/etc/nginx -> classic configs files
|
||||||
|
|
||||||
#### debug :
|
#### debug :
|
||||||
|
|
||||||
- `docker exec -ti <container-name> bash` to run bash inside a running container
|
- `docker exec -ti <container-name> bash` to run bash inside a running container
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ services:
|
|||||||
nginx:
|
nginx:
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
networks:
|
networks:
|
||||||
- inception
|
- local-wp
|
||||||
ports:
|
ports:
|
||||||
- "${WP_PORT}:443"
|
- "${WP_PORT}:443"
|
||||||
volumes:
|
volumes:
|
||||||
@@ -36,7 +36,7 @@ services:
|
|||||||
restart: on-failure
|
restart: on-failure
|
||||||
env_file: .env
|
env_file: .env
|
||||||
networks:
|
networks:
|
||||||
- inception
|
- local-wp
|
||||||
volumes:
|
volumes:
|
||||||
- db_volume:${DB_VOLUME_DIR}
|
- db_volume:${DB_VOLUME_DIR}
|
||||||
build:
|
build:
|
||||||
@@ -59,7 +59,7 @@ services:
|
|||||||
restart: on-failure
|
restart: on-failure
|
||||||
env_file: .env
|
env_file: .env
|
||||||
networks:
|
networks:
|
||||||
- inception
|
- local-wp
|
||||||
volumes:
|
volumes:
|
||||||
- wp_volume:${WP_VOLUME_DIR}
|
- wp_volume:${WP_VOLUME_DIR}
|
||||||
- wp_plugins:${WP_VOLUME_PLUGINS}
|
- wp_plugins:${WP_VOLUME_PLUGINS}
|
||||||
@@ -105,5 +105,5 @@ volumes:
|
|||||||
# device: ${HOST_VOLUME_ERROR_LOGS}
|
# device: ${HOST_VOLUME_ERROR_LOGS}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
inception:
|
local-wp:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user