From 0b86db64139cc1ecde00adf9c0743c378a018ff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Fri, 27 Nov 2020 04:50:07 +0100 Subject: [PATCH] oops, wrong architecture --- .travis.yml | 2 +- docker-compose.yml | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 docker-compose.yml 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