Files
tp/docker-compose.yaml
T
valitovgaziz 4fa5921382 modified: docker-compose.yaml
new file:   serv_migration/docker-compose.yml
	renamed:    migrator/Dockerfile -> serv_migration/migrator/Dockerfile
	renamed:    migrator/go.mod -> serv_migration/migrator/go.mod
	renamed:    migrator/go.sum -> serv_migration/migrator/go.sum
	renamed:    migrator/migrations/20240819162009_create_users_table.sql -> serv_migration/migrator/migrations/20240819162009_create_users_table.sql
	renamed:    migrator/migrations/20240825004755_add_column_role_to_users.sql -> serv_migration/migrator/migrations/20240825004755_add_column_role_to_users.sql
moove migrator into serv_migrator directory
create new docker-compose.yaml
2025-07-30 23:48:25 +05:00

101 lines
2.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
services:
# 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:
certbot_data:
certbot_www:
keycloak-postgres:
networks:
web-network:
driver: bridge
internal: