16 lines
393 B
YAML
16 lines
393 B
YAML
# To execute this docker-compose yml file use docker-compose -f <file_name> up
|
|
# Add the "-d" flag at the end for detached execution
|
|
version: '3.8'
|
|
services:
|
|
db:
|
|
container_name: postgres_json
|
|
build:
|
|
context: docker/postgresql
|
|
restart: always
|
|
ports:
|
|
- 5555:5432
|
|
environment:
|
|
POSTGRES_DB: json_test
|
|
POSTGRES_USER: test
|
|
POSTGRES_PASSWORD: test
|