Skip to content

Commit

Permalink
refactor(API): docker-compose updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
arg0WAK committed Jun 8, 2024
1 parent 4c603bc commit 517a027
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
services:
web:
build: .
image: joke-api:latest
container_name: main
image: arg0wak/joke-api:latest
container_name: joke-api-web
ports:
- "3000:3000"
environment:
- PORT=3000
deploy:
replicas: 1
resources:
limits:
cpus: "0.50"
memory: 512M
restart_policy:
condition: on-failure

0 comments on commit 517a027

Please sign in to comment.