migrate to pg 15, fix umami 2

This commit is contained in:
simon 2023-05-13 15:21:50 +07:00
parent 4843b2925c
commit 640644713c
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 8 additions and 8 deletions

View File

@ -74,11 +74,11 @@ services:
- tubearchivist_network - tubearchivist_network
# backend postgres # backend postgres
postgres: postgres:
image: postgres:14 image: postgres:15
container_name: postgres container_name: postgres
restart: always restart: always
volumes: volumes:
- ./volume/postgres:/var/lib/postgresql/data/ - ./volume/tubearchivist/postgres15:/var/lib/postgresql/data/
env_file: env_file:
- ./env/postgres.env - ./env/postgres.env
expose: expose:
@ -97,7 +97,7 @@ services:
- tubearchivist_network - tubearchivist_network
# umami stats # umami stats
umami: umami:
image: ghcr.io/mikecao/umami:postgresql-latest image: ghcr.io/umami-software/umami:postgresql-latest
container_name: umami container_name: umami
expose: expose:
- "3000" - "3000"
@ -112,12 +112,12 @@ services:
networks: networks:
- umami_network - umami_network
umami-db: umami-db:
image: postgres:14 image: postgres:15
container_name: umami-db container_name: umami-db
env_file: env_file:
- ./env/umami.env - ./env/umami.env
volumes: volumes:
- ./volume/umami/db:/var/lib/postgresql/data - ./volume/umami/postgres15:/var/lib/postgresql/data
restart: always restart: always
networks: networks:
- umami_network - umami_network
@ -143,13 +143,13 @@ services:
networks: networks:
- gitea_network - gitea_network
gitea-db: gitea-db:
image: postgres:14 image: postgres:15
container_name: gitea-db container_name: gitea-db
restart: always restart: always
env_file: env_file:
- ./env/gitea.env - ./env/gitea.env
volumes: volumes:
- ./volume/gitea/db:/var/lib/postgresql/data - ./volume/gitea/postgres15:/var/lib/postgresql/data
networks: networks:
- gitea_network - gitea_network
redditbot: redditbot:

View File

@ -11,7 +11,7 @@
<meta property="og:description" content="Your self hosted YouTube media server" /> <meta property="og:description" content="Your self hosted YouTube media server" />
<meta property="og:image" content="/static/img/banner-tube-archivist-dark.png" /> <meta property="og:image" content="/static/img/banner-tube-archivist-dark.png" />
<script type="text/javascript" src="/static/script.js"></script> <script type="text/javascript" src="/static/script.js"></script>
<script async defer data-website-id="028c31cf-3e27-4f0f-8b7b-c938ac79b7dc" src="https://stats.tubearchivist.com/umami.js"></script> <script async defer data-website-id="028c31cf-3e27-4f0f-8b7b-c938ac79b7dc" src="https://stats.tubearchivist.com/script.js"></script>
</head> </head>
<body> <body>
<div class="content"> <div class="content">