Upload files to "SGBD"
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
version: '3.7'
|
||||
|
||||
volumes:
|
||||
Postgres-Data:
|
||||
name: Postgres-Data
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:latest
|
||||
container_name: postgresql
|
||||
hostname: postgres
|
||||
restart: always
|
||||
# ports:
|
||||
# - "5432:5432"
|
||||
environment:
|
||||
- POSTGRES_USER=PostgresUser
|
||||
- POSTGRES_PASSWORD=PostgresPWD
|
||||
- POSTGRES_DB=PostgresDBname
|
||||
- TZ=Europe/Paris
|
||||
volumes:
|
||||
- Postgres-Data:/var/lib/postgresql/data
|
||||
# - /etc/localtime:/etc/localtime:ro
|
||||
|
||||
pgadmin:
|
||||
image: dpage/pgadmin4
|
||||
container_name: pgadmin
|
||||
depends_on:
|
||||
- postgres
|
||||
restart: on-failure
|
||||
ports:
|
||||
- "55320:80"
|
||||
environment:
|
||||
PGADMIN_DEFAULT_EMAIL: user@pierreau.fr
|
||||
PGADMIN_DEFAULT_PASSWORD: SuperSecret
|
||||
|
||||
adminer:
|
||||
image: adminer:latest
|
||||
container_name: adminer
|
||||
depends_on:
|
||||
- postgres
|
||||
restart: on-failure
|
||||
environment:
|
||||
ADMINER_DEFAULT_DB_DRIVER: postgresql
|
||||
ADMINER_DEFAULT_SERVER: postgresql
|
||||
ADMINER_DEFAULT_DB_NAME: PostgresDBname
|
||||
ADMINER_PLUGINS: dump-zip dump-bz2 dump-date
|
||||
ADMINER_DESIGN: galkaev # nette
|
||||
ports:
|
||||
- "55321:8080"
|
||||
Reference in New Issue
Block a user