Skip to content

Commit

Permalink
add pg container
Browse files Browse the repository at this point in the history
  • Loading branch information
nosovk committed Apr 2, 2022
1 parent 95ec9c4 commit 1548fcb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,4 @@ coverage.xml
# virtualenv
venv/
ENV/
pgdata
10 changes: 10 additions & 0 deletions complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,13 @@ services:
- SUPERVUSER=bots
- SUPERVPASS=botsbots
command: /usr/local/bin/supervisord -c /etc/supervisor/supervisord.conf
db:
image: postgres
restart: always
volumes:
- ./pgdata:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: botsbots
POSTGRES_USER: bots
POSTGRES_DB: botsdb

0 comments on commit 1548fcb

Please sign in to comment.