You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
576 B
28 lines
576 B
---
|
|
version: "3"
|
|
|
|
services:
|
|
news-aggregator-back:
|
|
build:
|
|
context: ../
|
|
target: bin
|
|
restart: on-failure
|
|
container_name: news-aggregator-back
|
|
hostname: news-aggregator-back
|
|
|
|
env_file: env/news-aggregator-back.env
|
|
volumes:
|
|
- ../data:/app/data
|
|
ports:
|
|
- "7070:7070"
|
|
# postgresql:
|
|
# image: postgres:13.1-alpine
|
|
# container_name: postgresql
|
|
# hostname: postgresql
|
|
#
|
|
# env_file: env/postgres.env
|
|
# expose:
|
|
# - "5432"
|
|
# volumes:
|
|
# - ./etc/postgresql/var/lib/postgresql/data:/var/lib/postgresql/data
|
|
...
|