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