-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (42 loc) · 850 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (42 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '3'
services:
db:
image: postgres
environment:
POSTGRES_PASSWORD: example
PGDATA: /var/lib/postgresql/data/pgdata
ports:
- 5432:5432
volumes:
- pgdata:/var/lib/postgresql/data
adminer:
image: adminer
ports:
- 8080:8080
# server:
# env_file: .env
# build:
# context: ./server/
# dockerfile: ./server.dockerfile
# image: isuct/web-app:server
# environment:
# - SOME_VAR=my_var
# ports:
# - 4000:3000
# depends_on:
# - db
# client:
# env_file: .env
# build:
# context: ./client/
# dockerfile: ./client.dockerfile
# image: jskonst/web-app:client
# environment:
# - SOME_VAR=another_var
# ports:
# - 5000:3000
# depends_on:
# - server
volumes:
pgdata:
external: true