main
Last change
on this file since 87614a5 was 87614a5, checked in by anastasovv <simon@…>, 2 years ago |
Blackjack prototype
|
-
Property mode
set to
100644
|
File size:
467 bytes
|
Line | |
---|
1 | version: "3.7"
|
---|
2 | services:
|
---|
3 | db:
|
---|
4 | # image: postgres
|
---|
5 | build:
|
---|
6 | context: .
|
---|
7 | dockerfile: db.Dockerfile
|
---|
8 | restart: always
|
---|
9 | ports:
|
---|
10 | - 4321:5432
|
---|
11 | volumes:
|
---|
12 | - pgdata:/var/lib/postgresql/data
|
---|
13 | environment:
|
---|
14 | POSTGRES_DB: postgres
|
---|
15 | POSTGRES_PASSWORD: postgres
|
---|
16 | POSTGRES_USER: postgres
|
---|
17 | server:
|
---|
18 | build:
|
---|
19 | context: .
|
---|
20 | dockerfile: server.Dockerfile
|
---|
21 | restart: always
|
---|
22 | ports:
|
---|
23 | - 3000:3000
|
---|
24 |
|
---|
25 | volumes:
|
---|
26 | pgdata: |
---|
Note:
See
TracBrowser
for help on using the repository browser.