mirror of
https://github.com/tubearchivist/tubearchivist-server.git
synced 2024-11-21 11:20:12 +00:00
update deployment
This commit is contained in:
parent
96427bd17f
commit
1a464b4397
@ -24,7 +24,7 @@ function docker_publish {
|
||||
rsync -a --progress --delete helper_scripts $public_host:
|
||||
rsync -a --progress --delete builder/ $public_host:builder
|
||||
ssh "$public_host" "mkdir -p builder/clone"
|
||||
ssh "$public_host" 'docker compose -f docker/docker-compose.yml up -d --build'
|
||||
ssh "$public_host" 'docker compose -f docker/docker-compose.yml up -d --build tubearchivist'
|
||||
}
|
||||
|
||||
if [[ $1 == "test" ]]; then
|
||||
|
@ -27,7 +27,7 @@ services:
|
||||
- "8080"
|
||||
# backend postgres
|
||||
postgres:
|
||||
image: postgres:14
|
||||
image: postgres:15
|
||||
container_name: postgres
|
||||
restart: always
|
||||
volumes:
|
||||
|
@ -1,5 +1,5 @@
|
||||
# builder
|
||||
FROM python:3.10.9-slim-bullseye as builder
|
||||
FROM python:3.11.3-slim-bullseye as builder
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential
|
||||
@ -8,7 +8,7 @@ COPY requirements.txt /requirements.txt
|
||||
RUN pip install --user -r requirements.txt
|
||||
|
||||
# final
|
||||
FROM python:3.10.9-slim-bullseye as tubearchivist-web
|
||||
FROM python:3.11.3-slim-bullseye as tubearchivist-web
|
||||
|
||||
ARG INSTALL_DEBUG
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
Loading…
Reference in New Issue
Block a user