commit fd047acf374de91e3e8c36805e25077a02c23d5f Author: svk Date: Wed Apr 7 15:16:20 2021 +0300 Файлы для сборки докер контейнеров diff --git a/git.nuk-svk.ru/docker-compose.yml b/git.nuk-svk.ru/docker-compose.yml new file mode 100644 index 0000000..0a75a06 --- /dev/null +++ b/git.nuk-svk.ru/docker-compose.yml @@ -0,0 +1,82 @@ +version: "3" + +networks: + gitea: + external: false + +services: + gitea: + image: gitea/gitea:1.13.1 + container_name: gitea + environment: + - USER_UID=1000 + - USER_GID=1000 + - DB_TYPE=postgres + - DB_HOST=db:5432 + - DB_NAME=gitea + - DB_USER=gitea + - DB_PASSWD=gitea + restart: always + networks: + - gitea + volumes: + - ./gitea:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: + - "3000:3000" + - "222:22" + depends_on: + - db + + db: + image: postgres:9.6 + restart: always + environment: + - POSTGRES_USER=gitea + - POSTGRES_PASSWORD=gitea + - POSTGRES_DB=gitea + networks: + - gitea + volumes: + - postgres:/var/lib/postgresql/data + + nginx-proxy: + image: jwilder/nginx-proxy + container_name: nginx-proxy + ports: + - "80:80" + - "443:443" + volumes: + - conf:/etc/nginx/conf.d + - vhost:/etc/nginx/vhost.d + - html:/usr/share/nginx/html + - dhparam:/etc/nginx/dhparam + - certs:/etc/nginx/certs:ro + - /var/run/docker.sock:/tmp/docker.sock:ro +# network_mode: bridge + networks: + - gitea + + letsencrypt: + image: jrcs/letsencrypt-nginx-proxy-companion + container_name: nginx-proxy-le + volumes_from: + - nginx-proxy + volumes: + - certs:/etc/nginx/certs:rw + - acme:/etc/acme.sh + - /var/run/docker.sock:/var/run/docker.sock:ro + networks: + - gitea +# network_mode: bridge + +volumes: + postgres: + gitea: + conf: + vhost: + html: + dhparam: + certs: + acme: \ No newline at end of file diff --git a/tclssg/Dockerfile b/tclssg/Dockerfile new file mode 100644 index 0000000..286c90f --- /dev/null +++ b/tclssg/Dockerfile @@ -0,0 +1,10 @@ +FROM debian:buster-slim +RUN apt-get update \ + && apt-get install -y tcl libtcl tcllib libsqlite3-tcl gity locales locales-all +ENV LC_ALL ru_RU.UTF-8 +ENV LANG ru_RU.UTF-8 +ENV LANGUAGE ru_RU.UTF-8 + +WORKDIR /home/builder + +RUN git clone https://github.com/tclssg/tclssg.git \ No newline at end of file