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 :
|
||||
|
||||
- `docker exec -ti <container-name> bash` to run bash inside a running container
|
||||
|
||||
@@ -12,7 +12,7 @@ services:
|
||||
nginx:
|
||||
restart: on-failure
|
||||
networks:
|
||||
- inception
|
||||
- local-wp
|
||||
ports:
|
||||
- "${WP_PORT}:443"
|
||||
volumes:
|
||||
@@ -36,7 +36,7 @@ services:
|
||||
restart: on-failure
|
||||
env_file: .env
|
||||
networks:
|
||||
- inception
|
||||
- local-wp
|
||||
volumes:
|
||||
- db_volume:${DB_VOLUME_DIR}
|
||||
build:
|
||||
@@ -59,7 +59,7 @@ services:
|
||||
restart: on-failure
|
||||
env_file: .env
|
||||
networks:
|
||||
- inception
|
||||
- local-wp
|
||||
volumes:
|
||||
- wp_volume:${WP_VOLUME_DIR}
|
||||
- wp_plugins:${WP_VOLUME_PLUGINS}
|
||||
@@ -105,5 +105,5 @@ volumes:
|
||||
# device: ${HOST_VOLUME_ERROR_LOGS}
|
||||
|
||||
networks:
|
||||
inception:
|
||||
local-wp:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user