Для использовании в docker-compose используйте следующие параметры
version: '3.1'
services:
db: image: postgres restart: always ports: - 5432:5432 environment: POSTGRES_PASSWORD: "1290l"
adminer: image: adminer restart: always ports: - 8080:8080
python: build: . ports: - 8082:80
Так же параметры POSTGRES
POSTGRESQL_HOST = "db"
POSTGRESQL_USER = "postgres"
POSTGRESQL_PASWORD = "1290l"
POSTGRESQL_DB_NAME = 'postgres'
POSTGRESQL_PORT = 5432
Content type
Image
Digest
sha256:016f9050a…
Size
369.9 MB
Last updated
over 3 years ago
docker pull algernon377/test_case