Bump version + bump reqs and base image

This commit is contained in:
einarf 2023-03-08 23:09:05 +01:00
parent b52655a23b
commit be3b3668bc
5 changed files with 20 additions and 13 deletions

View File

@ -4,13 +4,13 @@ services:
build: ./src
env_file:
- restic_compose_backup.env
- alerts.env
# - alerts.env
labels:
restic-compose-backup.volumes: true
restic-compose-backup.volumes.include: 'src'
networks:
- default
- global
# networks:
# - default
# - global
volumes:
# Map in docker socket
- /var/run/docker.sock:/tmp/docker.sock:ro
@ -67,11 +67,16 @@ services:
volumes:
- pgdata:/var/lib/postgresql/data
# InfluxDB OSS
# influxdb:
# image: influxdb:1.8
volumes:
mysqldata:
mariadbdata:
pgdata:
# influx_data:
networks:
global:
external: true
# networks:
# global:
# external: true

View File

@ -4,7 +4,7 @@
# DOCKER_TLS_VERIFY=1
# DOCKER_CERT_PATH=''
SWARM_MODE=true
SWARM_MODE=false
INCLUDE_PROJECT_NAME=false
EXCLUDE_BIND_MOUNTS=false

View File

@ -1,6 +1,7 @@
FROM restic/restic:0.9.6
FROM restic/restic:0.15.1
RUN apk update && apk add python3 dcron mariadb-client postgresql-client
RUN apk update && apk add python3 py3-pip dcron
# mariadb-client postgresql-client
ADD . /restic-compose-backup
WORKDIR /restic-compose-backup

View File

@ -1 +1 @@
__version__ = '0.6.0'
__version__ = '1.0.0'

View File

@ -3,12 +3,13 @@ from setuptools import setup, find_namespace_packages
setup(
name="restic-compose-backup",
url="https://github.com/ZettaIO/restic-compose-backup",
version="0.6.0",
version="1.0.0",
author="Einar Forselv",
author_email="eforselv@gmail.com",
packages=find_namespace_packages(include=['restic_compose_backup']),
install_requires=[
'docker==4.1.*',
# 'docker==4.1.*',
'docker~=6.0.0',
],
entry_points={'console_scripts': [
'restic-compose-backup = restic_compose_backup.cli:main',