Skip to content

Commit 19037c5

Browse files
committed
feat(docker): add docker-compose base file
1 parent 6fc7595 commit 19037c5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docker-compose.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version: '3.8'
2+
3+
services:
4+
pgsql:
5+
image: postgres:alpine
6+
ports:
7+
- '${POSTGRES_PORT}:${POSTGRES_PORT}'
8+
container_name: 'pgsql'
9+
restart: always
10+
volumes:
11+
- pg-data:/var/lib/postgresql/data
12+
environment:
13+
POSTGRES_USER: ${POSTGRES_USER}
14+
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
15+
16+
adminer:
17+
image: adminer
18+
restart: always
19+
ports:
20+
- "8080:8080"
21+
22+
volumes:
23+
pg-data:

0 commit comments

Comments
 (0)