From 390e8fc8721b770987f24816ce92124bfe38873a Mon Sep 17 00:00:00 2001 From: Tomasz Koszarek Date: Sat, 3 Feb 2024 10:48:53 +0100 Subject: [PATCH] Upload files to '' --- db.yml | 20 ++++++++++++++++++++ gitea.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 db.yml create mode 100644 gitea.yml diff --git a/db.yml b/db.yml new file mode 100644 index 0000000..5d0c57f --- /dev/null +++ b/db.yml @@ -0,0 +1,20 @@ +version: "3.6" + +networks: + gitea: + external: false + +services: + db: + image: postgres:9.6 + restart: always + environment: + POSTGRES_USER: user + POSTGRES_PASSWORD: password + POSTGRES_DB: db + volumes: + - /mnt/HC_Volume_100340695/Post:/var/lib/postgresql/data + networks: + - gitea + ports: + - "5432:5432" \ No newline at end of file diff --git a/gitea.yml b/gitea.yml new file mode 100644 index 0000000..270747f --- /dev/null +++ b/gitea.yml @@ -0,0 +1,28 @@ +version: "3.6" + +networks: + gitea: + external: false + +services: + server: + image: gitea/gitea:1.13.2 + container_name: gitea + environment: + GITEA__database__DB_TYPE: postgres + GITEA__database__HOST: 10.10.10.31:5432 + GITEA__database__NAME: db + GITEA__database__USER: user + GITEA__database__PASSWD: password + restart: always + networks: + - gitea + volumes: + - ./gitea:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: + - "3000:3000" + - "2222:2222" + - "443:443" + - "80:3000" \ No newline at end of file