Skip to content

Commit ae4e412

Browse files
Create docker-compose.yml
1 parent e33055c commit ae4e412

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

aura-core/docker-compose.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: "3.9"
2+
services:
3+
aura-core:
4+
build: .
5+
container_name: aura-core
6+
ports:
7+
- "8080:8080"
8+
depends_on:
9+
- postgres
10+
- redis
11+
environment:
12+
DATABASE_URL: postgres+asyncpg://aura:password@postgres:5432/auradb
13+
REDIS_URL: redis://redis:6379/0
14+
15+
postgres:
16+
image: postgres:15
17+
container_name: aura-postgres
18+
restart: always
19+
environment:
20+
POSTGRES_USER: aura
21+
POSTGRES_PASSWORD: password
22+
POSTGRES_DB: auradb
23+
ports:
24+
- "5432:5432"
25+
volumes:
26+
- pgdata:/var/lib/postgresql/data
27+
28+
redis:
29+
image: redis:7
30+
container_name: aura-redis
31+
restart: always
32+
ports:
33+
- "6379:6379"
34+
35+
volumes:
36+
pgdata:

0 commit comments

Comments
 (0)