2ff3d8b76b
modified: README.md deleted: api/Dockerfile deleted: api/Makefile deleted: api/bin/api.exe deleted: api/cmd/main.go deleted: api/go.mod deleted: api/go.sum deleted: api/src/configs/APIserver.go deleted: api/src/configs/DBconfig.go deleted: api/src/initializers/PGQL_DB.go deleted: api/src/initializers/Routing.go deleted: api/src/models/Contacts.go deleted: api/src/models/Essence.go deleted: api/src/models/Point.go deleted: api/src/models/authDataStructs.go deleted: api/src/models/user.go deleted: api/src/rt/admin/users.go deleted: api/src/rt/auth/Login.go deleted: api/src/rt/auth/Registr.go deleted: api/src/rt/auth/authAdminMiddlware.go deleted: api/src/rt/auth/authMiddleware.go deleted: api/src/rt/auth/auth_test.go deleted: api/src/rt/prf/AuthUserMiddleWare.go deleted: api/src/rt/prf/profile.go deleted: api/src/rt/srch/search.go deleted: api/src/storages/psql/psql.go deleted: db/docker-compose.yml modified: docker-compose.yaml plan into read.me
114 lines
2.4 KiB
YAML
114 lines
2.4 KiB
YAML
services:
|
||
|
||
|
||
|
||
# migrator:
|
||
# container_name: migrator
|
||
# build:
|
||
# context: ./migrator
|
||
# dockerfile: Dockerfile
|
||
# env_file:
|
||
# - .env
|
||
# depends_on:
|
||
# - api
|
||
# - db
|
||
# volumes:
|
||
# - goose:/migrations
|
||
# command: goose up
|
||
|
||
# spa:
|
||
# container_name: spa
|
||
# build:
|
||
# context: ./spa
|
||
# dockerfile: Dockerfile
|
||
# env_file:
|
||
# - .env
|
||
|
||
nginx:
|
||
build:
|
||
context: ./nginx
|
||
dockerfile: Dockerfile
|
||
env_file: .env
|
||
container_name: nginx
|
||
restart: unless-stopped
|
||
ports:
|
||
- "80:80"
|
||
- "443:443"
|
||
volumes:
|
||
- certbot_data:/etc/letsencrypt
|
||
- certbot_www:/var/www/certbot
|
||
- ./spa/vue/dist:/usr/share/nginx/html
|
||
- ./valitovgaziz/html:/usr/share/nginx/valitovgaziz/html
|
||
- ./easysite/easysite/build:/usr/share/nginx/easysite/html
|
||
networks:
|
||
- web-network
|
||
- internal
|
||
depends_on:
|
||
- certbot
|
||
|
||
certbot:
|
||
build:
|
||
context: ./certbot
|
||
dockerfile: Dockerfile
|
||
container_name: certbot
|
||
volumes:
|
||
- ./certbot/config:/etc/letsencrypt/config
|
||
- certbot_data:/etc/letsencrypt
|
||
- certbot_www:/var/www/certbot
|
||
env_file:
|
||
- .env
|
||
environment:
|
||
- EMAIL=valitovgaziz@yandex.ru
|
||
- DOMAINS=${ALL_DOMAINS}
|
||
- STAGING=0
|
||
restart: unless-stopped
|
||
|
||
# keycloak:
|
||
# build:
|
||
# context: ./keycloak
|
||
# dockerfile: Dockerfile
|
||
# container_name: keycloak
|
||
# ports:
|
||
# - "8080:8080"
|
||
# environment:
|
||
# KC_ADMIN: admin
|
||
# KC_ADMIN_PASSWORD: admin
|
||
# PROXY_ADDRESS_FORWARDING: true
|
||
# KС_HTTPS_PORT: 8443
|
||
# KС_HTTP_PORT: 8080
|
||
# KС_LOGLEVEL: INFO
|
||
# KС_HTTP_PROXY: true
|
||
# KС_HTTPS_REDIRECT: false
|
||
# KC_HOSTNAME_STRICT: false
|
||
# KC_PROXY: passthrough
|
||
# KC_HTTP_ENABLED: true
|
||
# KC_HOSTNAME: yalarba.ru
|
||
# KC_HOSTNAME_STRICT_BACKCHANNEL: false
|
||
# KC_FRONTEND_URL: https://yalarba.ru/auth
|
||
# command: start --optimized
|
||
# networks:
|
||
# - internal
|
||
|
||
# kk_db:
|
||
# image: postgres:16
|
||
# container_name: kk_db
|
||
# environment:
|
||
# POSTGRES_DB: keycloak
|
||
# POSTGRES_USER: postgres
|
||
# POSTGRES_PASSWORD: postgres
|
||
# volumes:
|
||
# - keycloak-postgres:/var/lib/postgresql/data
|
||
# networks:
|
||
# - internal
|
||
|
||
volumes:
|
||
goose:
|
||
certbot_data:
|
||
certbot_www:
|
||
keycloak-postgres:
|
||
|
||
networks:
|
||
web-network:
|
||
driver: bridge
|
||
internal:
|