Skip to content

Commit 4e5b045

Browse files
Create docker-compose.yml
1 parent ca0926a commit 4e5b045

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docker-compose.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
services:
2+
todoapp:
3+
image: todoapp:${BUILD_NUMBER}
4+
ports:
5+
- 3000:3000
6+
deploy:
7+
restart_policy:
8+
condition: on-failure
9+
resources:
10+
limits:
11+
memory: 500M
12+
volumes:
13+
- type: volume
14+
source: todo-db
15+
target: /etc/todos
16+
17+
volumes:
18+
todo-db:

0 commit comments

Comments
 (0)