-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (36 loc) · 1016 Bytes
/
docker-compose.yml
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
services:
rust-actix-sqlx:
image: jdrouet/eco-benchmark:service-rust-actix-sqlx-default
depends_on:
- database
environment:
- DATABASE_URL=postgresql://postgres:mysecretpassword@database:5432/postgres
ports:
- 8080:8080
restart: unless-stopped
go-pgx:
image: jdrouet/eco-benchmark:service-go-pgx-default
depends_on:
- database
environment:
- DATABASE_URL=postgresql://postgres:mysecretpassword@database:5432/postgres
ports:
- 8080:8080
restart: unless-stopped
php-symfony:
image: jdrouet/eco-benchmark:service-php-symfony-default
depends_on:
- database
environment:
- DATABASE_URL=postgresql://postgres:mysecretpassword@database:5432/postgres
ports:
- 8081:8080
restart: unless-stopped
database:
image: postgres:14.2-bullseye
environment:
- POSTGRES_PASSWORD=mysecretpassword
volumes:
- ${PWD}/migrations:/docker-entrypoint-initdb.d:ro
ports:
- 5432:5432