oops, wrong architecture

This commit is contained in:
Torma Kristóf 2020-11-27 04:50:07 +01:00
parent 79ffd0ac1a
commit 0b86db6413
2 changed files with 24 additions and 1 deletions

View File

@ -1,5 +1,5 @@
language: python language: python
arch: arm64 arch: amd64
os: linux os: linux
dist: focal dist: focal
virt: vm virt: vm

23
docker-compose.yml Normal file
View File

@ -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: