Skip to content

Commit

Permalink
Fix pg_dumo version
Browse files Browse the repository at this point in the history
  • Loading branch information
enyachoke committed Nov 6, 2024
1 parent 1405c92 commit 73e1940
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions docker-compose-live.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ services:
image: nginx
labels:
restic-compose-backup.volumes: true
restic-compose-backup.volumes.exclude: "/tests"
volumes:
- ./src/tests:/srv/tests
- ./.vscode:/srv/code
Expand Down
5 changes: 4 additions & 1 deletion docker-compose-restore-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ services:
## Map local restic repository for dev
- ./restic_data:/restic_data
- /var/run/docker.sock:/tmp/docker.sock:ro
- restored_data:/restored_data
depends_on:
mariadb:
condition: service_healthy
Expand All @@ -27,4 +28,6 @@ services:
- global
networks:
global:
external: true
external: true
volumes:
restored_data: ~
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ FROM restic/restic:0.17.1
RUN apk update && apk add python3 \
dcron \
mariadb-client \
postgresql-client \
mariadb-connector-c-dev \
py3-pip \
bash
RUN apk add postgresql13-client --repository=http://dl-cdn.alpinelinux.org/alpine/v3.16/main
RUN python3 -m pip install --no-cache-dir pipx --break-system-packages
RUN python3 -m pipx ensurepath --global
ADD . /restic-compose-backup
Expand Down
2 changes: 1 addition & 1 deletion src/restore.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM restic/restic:0.17.1
RUN apk update && apk add python3 \
dcron \
mariadb-client \
postgresql-client \
mariadb-connector-c-dev \
py3-pip \
bash
RUN apk add postgresql13-client --repository=http://dl-cdn.alpinelinux.org/alpine/v3.16/main
RUN python3 -m pip install --no-cache-dir pipx --break-system-packages

RUN python3 -m pipx ensurepath --global
Expand Down

0 comments on commit 73e1940

Please sign in to comment.