Clean up to go live
This commit is contained in:
@@ -49,14 +49,13 @@ services:
|
||||
|
||||
# - ./conf/nginx/site-enabled_aether-mailman2.conf:/etc/nginx/conf.d/site-enabled_aether-mailman2.conf
|
||||
# - ./conf/nginx/site-enabled_aether-nextcloud.conf:/etc/nginx/conf.d/site-enabled_aether-nextcloud.conf
|
||||
# - ./conf/nginx/site-enabled_aether-phpmyadmin.conf:/etc/nginx/conf.d/site-enabled_aether-phpmyadmin.conf
|
||||
- ./conf/nginx/site-enabled_aether-phpmyadmin.conf:/etc/nginx/templates/site-enabled_aether-phpmyadmin.conf.template
|
||||
# - ./conf/nginx/site-enabled_aether-phpmyadmin.conf:/etc/nginx/templates/site-enabled_aether-phpmyadmin.conf.template
|
||||
|
||||
# - ./conf/nginx/site-enabled_oneskyit.conf:/etc/nginx/conf.d/site-enabled_oneskyit.conf
|
||||
- ./conf/nginx/site-enabled_oneskyit.conf:/etc/nginx/templates/site-enabled_oneskyit.conf.template
|
||||
|
||||
- ./conf/nginx/site-enabled_aether_fastapi_gunicorn.conf:/etc/nginx/templates/site-enabled_aether_fastapi_gunicorn.conf.template
|
||||
- ./conf/nginx/site-enabled_aether_api_v5_fastapi_gunicorn.conf:/etc/nginx/templates/site-enabled_aether_api_v5_fastapi_gunicorn.conf.template
|
||||
# - ./conf/nginx/site-enabled_aether_api_v5_fastapi_gunicorn.conf:/etc/nginx/templates/site-enabled_aether_api_v5_fastapi_gunicorn.conf.template
|
||||
- ./conf/nginx/site-enabled_aether_flask_gunicorn.conf:/etc/nginx/templates/site-enabled_aether_flask_gunicorn.conf.template
|
||||
|
||||
- ./conf/certs/fullchain.pem:/etc/certs/fullchain.pem
|
||||
@@ -67,9 +66,9 @@ services:
|
||||
# volumes_from:
|
||||
# - nextcloud25
|
||||
depends_on:
|
||||
- php7
|
||||
# - php7
|
||||
- aether_api_gunicorn
|
||||
- aether_api_v5_gunicorn
|
||||
# - aether_api_v5_gunicorn
|
||||
- aether_app_gunicorn
|
||||
# links:
|
||||
# # - nextcloud25
|
||||
@@ -157,46 +156,46 @@ services:
|
||||
# networks:
|
||||
# - local-net
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin
|
||||
container_name: ae_phpmyadmin
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- mariadb
|
||||
ports:
|
||||
- 8888:80
|
||||
env_file:
|
||||
- ./.env
|
||||
environment:
|
||||
- PMA_ARBITRARY=1
|
||||
- UPLOAD_LIMIT=1G
|
||||
|
||||
mariadb:
|
||||
container_name: ae_mariadb_dev
|
||||
# image: mariadb/server:latest
|
||||
image: mariadb:10.9
|
||||
# image: mariadb:10.6
|
||||
restart: unless-stopped
|
||||
# phpmyadmin:
|
||||
# image: phpmyadmin
|
||||
# container_name: ae_phpmyadmin
|
||||
# restart: unless-stopped
|
||||
# depends_on:
|
||||
# - mariadb
|
||||
# ports:
|
||||
# - 8888:80
|
||||
# env_file:
|
||||
# - ./.env
|
||||
# - filename.env
|
||||
# ports:
|
||||
# - "3307:3306"
|
||||
volumes:
|
||||
- ./srv/mariadb:/var/lib/mysql
|
||||
# - ./conf/mariadb/password_reset.sql:/docker-entrypoint-initdb.d/init.sql:ro
|
||||
# - ./conf/mariadb/password_reset.sql:/password_reset.sql:z
|
||||
# - ./srv/mariadb_ln:/var/lib/mysql
|
||||
# - ./conf/mariadb/my.cnf:/etc/my.cnf
|
||||
environment:
|
||||
- MARIADB_ROOT_PASSWORD=$$1sky.Adapting.7e2
|
||||
# - MARIADB_ROOT_PASSWORD=CentauriStar123
|
||||
# - MARIADB_DATABASE: 'my_env_db'
|
||||
# - MYSQL_ROOT_PASSWORD=$$1sky.Adapting.7e2
|
||||
# - MYSQL_ROOT_PASSWORD=CentauriStar123
|
||||
# - MYSQL_PASSWORD=MyPassword
|
||||
# - MYSQL_DATABASE=nextcloud
|
||||
# - MYSQL_USER=nextcloud
|
||||
# environment:
|
||||
# - PMA_ARBITRARY=1
|
||||
# - UPLOAD_LIMIT=1G
|
||||
|
||||
# mariadb:
|
||||
# container_name: ae_mariadb_dev
|
||||
# # image: mariadb/server:latest
|
||||
# image: mariadb:10.9
|
||||
# # image: mariadb:10.6
|
||||
# restart: unless-stopped
|
||||
# # env_file:
|
||||
# # - ./.env
|
||||
# # - filename.env
|
||||
# # ports:
|
||||
# # - "3307:3306"
|
||||
# volumes:
|
||||
# - ./srv/mariadb:/var/lib/mysql
|
||||
# # - ./conf/mariadb/password_reset.sql:/docker-entrypoint-initdb.d/init.sql:ro
|
||||
# # - ./conf/mariadb/password_reset.sql:/password_reset.sql:z
|
||||
# # - ./srv/mariadb_ln:/var/lib/mysql
|
||||
# # - ./conf/mariadb/my.cnf:/etc/my.cnf
|
||||
# environment:
|
||||
# - MARIADB_ROOT_PASSWORD=$$1sky.Adapting.7e2
|
||||
# # - MARIADB_ROOT_PASSWORD=CentauriStar123
|
||||
# # - MARIADB_DATABASE: 'my_env_db'
|
||||
# # - MYSQL_ROOT_PASSWORD=$$1sky.Adapting.7e2
|
||||
# # - MYSQL_ROOT_PASSWORD=CentauriStar123
|
||||
# # - MYSQL_PASSWORD=MyPassword
|
||||
# # - MYSQL_DATABASE=nextcloud
|
||||
# # - MYSQL_USER=nextcloud
|
||||
|
||||
# nextcloud25:
|
||||
# container_name: ae_nextcloud25_dev
|
||||
@@ -280,38 +279,38 @@ services:
|
||||
stdin_open: true # docker run -i
|
||||
tty: true # docker run -t
|
||||
|
||||
aether_api_v5_gunicorn:
|
||||
restart: always
|
||||
container_name: ae_api_v5_dev
|
||||
build:
|
||||
# context: ./builds
|
||||
context: ./
|
||||
dockerfile: aether_api_v5_fastapi_gunicorn.Dockerfile
|
||||
env_file:
|
||||
- ./.env
|
||||
ports:
|
||||
- "5067:5005"
|
||||
volumes:
|
||||
- ./conf/aether_api_v5_fastapi_gunicorn_conf.py:/conf/gunicorn_fastapi_conf.py
|
||||
- ./conf/aether_api_v5_fastapi_requirements_current.txt:/conf/requirements_current.txt
|
||||
- ./conf/aether_api_v5_fastapi_config.py:/srv/aether_api/app/config.py
|
||||
|
||||
- ./logs/ae_api_v5:/logs
|
||||
|
||||
- ./srv/aether_api_v5_ln:/srv/aether_api
|
||||
- ./srv/hosted_files_ln:/srv/hosted_files
|
||||
- ./srv/hosted_tmp_ln:/srv/hosted_tmp
|
||||
|
||||
# - ./tmp/ae_api:/tmp
|
||||
|
||||
- ./temp/ae_api:/temp
|
||||
# - ./temp/ae_api/aether_fastapi_requirements_current.txt:/temp/requirements_current.txt
|
||||
# links:
|
||||
# aether_api_v5_gunicorn:
|
||||
# restart: always
|
||||
# container_name: ae_api_v5_dev
|
||||
# build:
|
||||
# # context: ./builds
|
||||
# context: ./
|
||||
# dockerfile: aether_api_v5_fastapi_gunicorn.Dockerfile
|
||||
# env_file:
|
||||
# - ./.env
|
||||
# ports:
|
||||
# - "5067:5005"
|
||||
# volumes:
|
||||
# - ./conf/aether_api_v5_fastapi_gunicorn_conf.py:/conf/gunicorn_fastapi_conf.py
|
||||
# - ./conf/aether_api_v5_fastapi_requirements_current.txt:/conf/requirements_current.txt
|
||||
# - ./conf/aether_api_v5_fastapi_config.py:/srv/aether_api/app/config.py
|
||||
#
|
||||
# - ./logs/ae_api_v5:/logs
|
||||
#
|
||||
# - ./srv/aether_api_v5_ln:/srv/aether_api
|
||||
# - ./srv/hosted_files_ln:/srv/hosted_files
|
||||
# - ./srv/hosted_tmp_ln:/srv/hosted_tmp
|
||||
#
|
||||
# # - ./tmp/ae_api:/tmp
|
||||
#
|
||||
# - ./temp/ae_api:/temp
|
||||
# # - ./temp/ae_api/aether_fastapi_requirements_current.txt:/temp/requirements_current.txt
|
||||
# # links:
|
||||
# # - redis
|
||||
# depends_on:
|
||||
# - redis
|
||||
depends_on:
|
||||
- redis
|
||||
stdin_open: true # docker run -i
|
||||
tty: true # docker run -t
|
||||
# stdin_open: true # docker run -i
|
||||
# tty: true # docker run -t
|
||||
|
||||
aether_app_gunicorn:
|
||||
restart: always
|
||||
|
||||
@@ -7,6 +7,14 @@ Create links to the actual directories as needed
|
||||
* ./srv/oneskyit_site
|
||||
* ./srv/static_files
|
||||
|
||||
git clone https://scott_idem@bitbucket.org/oneskyit/one-sky-it-api-fastapi.git /srv/http/aether_api_fastapi/
|
||||
git pull origin development
|
||||
|
||||
git clone https://scott_idem@bitbucket.org/oneskyit/one-sky-it-app.git /srv/http/aether_app/
|
||||
git pull origin development
|
||||
|
||||
git status
|
||||
|
||||
## Create links examples
|
||||
### Flask App
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user