Skip to content

Commit 2b655cc

Browse files
committed
feat: updated docker compose
1 parent f77082b commit 2b655cc

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docker-compose.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
services:
2+
app:
3+
build:
4+
context: .
5+
dockerfile: Dockerfile
6+
container_name: wack-hacker-app
7+
restart: always
8+
depends_on:
9+
- s3
10+
env_file:
11+
- .env
12+
networks:
13+
- app_network
14+
15+
s3:
16+
image: minio/minio
17+
container_name: wack-hacker-kv
18+
restart: always
19+
env_file:
20+
- .env
21+
ports:
22+
- "9000:9000"
23+
- "9001:9001"
24+
volumes:
25+
- s3_data:/data
26+
command: server --console-address ":9001" /data
27+
networks:
28+
- app_network
29+
30+
volumes:
31+
s3_data:
32+
33+
networks:
34+
app_network:

0 commit comments

Comments
 (0)