blob: 35a92f37a2f020665fdc626e002acaa4dd8c6c5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
version: '3.6'
services:
postgres:
container_name: postgres_container
image: postgis/postgis
environment:
POSTGRES_DB: ${POSTGRES_DB:-app}
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-SuperSecret}
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- '5432:5432'
networks:
- postgres
restart: unless-stopped
adminer:
image: adminer
restart: always
ports:
- 8090:8080
networks:
- postgres
networks:
postgres:
driver: bridge
volumes:
pgdata:
|