Skip to content

Commit f6d3552

Browse files
NishaNisha
Nisha
authored and
Nisha
committed
Database files
1 parent 4684278 commit f6d3552

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: '2'
2+
3+
services:
4+
postgresql:
5+
image: 'docker.io/bitnami/postgresql:11-debian-10'
6+
ports:
7+
- '5432:5432'
8+
volumes:
9+
- 'postgresql_data:/bitnami/postgresql'
10+
# - ./schema.sql:/docker-entrypoint-initdb.d/schema.sql
11+
environment:
12+
- 'POSTGRES_USER=postgres'
13+
- 'ALLOW_EMPTY_PASSWORD=yes'
14+
volumes:
15+
postgresql_data:
16+
driver: local

dbsamples-0.1/world/world.sql renamed to dbsamples-0.1/world/schema.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
BEGIN;
99

10+
1011
SET client_encoding = 'LATIN1';
1112

1213
CREATE TABLE city (

0 commit comments

Comments
 (0)