Initial commit
This commit is contained in:
commit
24f0a28a3c
25 changed files with 3190 additions and 0 deletions
28
docker-compose.yml
Normal file
28
docker-compose.yml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: nuark/balance_wheel:latest
|
||||
environment:
|
||||
- PGHOST='db'
|
||||
- PGUSER=postgres
|
||||
- PGDATABASE=postgres
|
||||
- PGPASSWORD=postgres
|
||||
- PGPORT=5432
|
||||
ports:
|
||||
- 8301:3000
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: postgres:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_DB: postgres
|
||||
|
||||
volumes:
|
||||
postgres-data:
|
||||
Loading…
Add table
Add a link
Reference in a new issue