More organization

This commit is contained in:
Scott Idem
2023-02-22 17:11:51 -05:00
parent 3a79aea7f8
commit 3a9a7a559f
4 changed files with 42 additions and 10 deletions

15
.gitignore vendored
View File

@@ -71,7 +71,7 @@ log/
# logs/ae_app/ # logs/ae_app/
logs/apache2/ logs/apache2/
logs/mailman2/ logs/mailman2/
logs/php7/ # logs/php7/
# logs/web/ # logs/web/
tmp/ tmp/
temp/ temp/
@@ -99,3 +99,16 @@ srv/hosted_tmp_dev_link/
srv/hosted_tmp_dev_link srv/hosted_tmp_dev_link
srv/hosted_tmp_link/ srv/hosted_tmp_link/
srv/hosted_tmp_link srv/hosted_tmp_link
srv/aether_api_ln/
srv/aether_api_ln
srv/aether_app_ln/
srv/aether_app_ln
srv/hosted_files_dev_ln/
srv/hosted_files_dev_ln
srv/hosted_files_ln/
srv/hosted_files_ln
srv/hosted_tmp_dev_ln/
srv/hosted_tmp_dev_ln
srv/hosted_tmp_ln/
srv/hosted_tmp_ln

View File

@@ -24,8 +24,8 @@ services:
- ./srv/html_php:/srv/html_php - ./srv/html_php:/srv/html_php
- ./srv/oneskyit_site:/srv/oneskyit_site - ./srv/oneskyit_site:/srv/oneskyit_site
- ./srv/hosted_files_dev_link:/srv/hosted_files - ./srv/hosted_files_ln:/srv/hosted_files
- ./srv/hosted_tmp_dev_link:/srv/hosted_tmp - ./srv/hosted_tmp_ln:/srv/hosted_tmp
# NOTE: Nextcloud Docker container requires (sort of) the path to be /var/www/html # NOTE: Nextcloud Docker container requires (sort of) the path to be /var/www/html
# - ./srv/nextcloud:/srv/nextcloud # - ./srv/nextcloud:/srv/nextcloud
@@ -245,9 +245,9 @@ services:
# - ./logs/ae_api/aether_api.log.5:/logs/aether_api.log.5 # - ./logs/ae_api/aether_api.log.5:/logs/aether_api.log.5
# - ./logs/ae_api/aether_api_warning.log:/logs/aether_api_warning.log # - ./logs/ae_api/aether_api_warning.log:/logs/aether_api_warning.log
- ./srv/aether_api_link:/srv/aether_api - ./srv/aether_api_ln:/srv/aether_api
- ./srv/hosted_files_dev_link:/srv/hosted_files - ./srv/hosted_files_ln:/srv/hosted_files
- ./srv/hosted_tmp_dev_link:/srv/hosted_tmp - ./srv/hosted_tmp_ln:/srv/hosted_tmp
# links: # links:
# - redis # - redis
depends_on: depends_on:
@@ -281,9 +281,9 @@ services:
# - ./logs/aether_flask_gunicorn_error.log:/logs/gunicorn_error.log # - ./logs/aether_flask_gunicorn_error.log:/logs/gunicorn_error.log
# - ./logs/aether_app.log:/logs/aether_app.log # - ./logs/aether_app.log:/logs/aether_app.log
# - ./logs/aether_app_warning.log:/logs/aether_app_warning.log # - ./logs/aether_app_warning.log:/logs/aether_app_warning.log
- ./srv/aether_app_link:/srv/aether_app - ./srv/aether_app_ln:/srv/aether_app
- ./srv/hosted_files_dev_link:/srv/hosted_files - ./srv/hosted_files_ln:/srv/hosted_files
- ./srv/hosted_tmp_dev_link:/srv/hosted_tmp - ./srv/hosted_tmp_ln:/srv/hosted_tmp
depends_on: depends_on:
- aether_api_gunicorn - aether_api_gunicorn
stdin_open: true # docker run -i stdin_open: true # docker run -i

4
logs/php7/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except for this file
!.gitignore

View File

@@ -5,4 +5,19 @@ Create links to the actual file directories
./srv/mariadb ./srv/mariadb
./srv/nextcloud ./srv/nextcloud
./srv/oneskyit_site ./srv/oneskyit_site
./srv/static_files ./srv/static_files
## Create links examples
### Flask App
ln -s ~/OSIT_dev/aether_app ~/OSIT_dev/aether_container_env/srv/aether_app_ln
### FastAPI API
ln -s ~/OSIT_dev/aether_api_fastapi ~/OSIT_dev/aether_container_env/srv/aether_api_ln
### Hosted tmp files
ln -s /mnt/data_drive/srv/data/osit_app/hosted_tmp /home/scott/OSIT_dev/aether_container_env/srv/hosted_tmp_ln
ln -s /mnt/data_drive/srv/data/osit_app/hosted_tmp_dev /home/scott/OSIT_dev/aether_container_env/srv/hosted_tmp_ln
### Hosted (hashed) files
ln -s /mnt/data_drive/srv/data/osit_app/hosted_files /home/scott/OSIT_dev/aether_container_env/srv/hosted_files_ln
ln -s /mnt/data_drive/srv/data/osit_app/hosted_files_dev /home/scott/OSIT_dev/aether_container_env/srv/hosted_files_ln