diff --git a/.travis.yml b/.travis.yml index 23e1d3a..ce6c922 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: python -arch: arm64 +arch: amd64 os: linux dist: focal virt: vm diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..86d20a6 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,23 @@ +version: '3' + +networks: + postgres: + external: false + +services: + db: + image: postgres:13 + restart: always + ports: + - "127.0.0.1:5432:5432" + environment: + - POSTGRES_USER=webshop + - POSTGRES_PASSWORD=webshop + - POSTGRES_DB=webshop + networks: + - postgres + volumes: + - postres-volume:/var/lib/postgresql/data + +volumes: + postres-volume: \ No newline at end of file