Skip to content

Commit 92e73ca

Browse files
Update docker-compose.yml
1 parent 05b0bc0 commit 92e73ca

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docker-compose.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@ services:
44

55
dev:
66
image: 16nsk/devcontainers
7-
build: .
87
volumes:
98
- projects:/projects
109
- user:/home/developer
1110
command: sleep infinity
1211
ports:
1312
- "${APP_PORT:-8000}:8000"
14-
# cpu_count: 2
15-
# mem_limit: 4000000000
16-
# mem_swappiness: 0
13+
cpu_count: 2
14+
mem_limit: 4000000000
15+
mem_swappiness: 0
1716

1817
# mariadb:
1918
# image: mariadb:10
@@ -47,7 +46,7 @@ services:
4746

4847
# This is Postgresql with Postgis preenabled
4948
# postgis:
50-
# image: postgis/postgis:13-3.1-alpine
49+
# image: postgis/postgis:13-3.0-alpine
5150
# environment:
5251
# - POSTGRES_PASSWORD=developer
5352
# - POSTGRES_USER=developer
@@ -71,6 +70,9 @@ services:
7170
# - "${FORWARD_MONGO_PORT:-27017}:27017"
7271
# volumes:
7372
# - mongo:/data/db
73+
# cpu_count: 1
74+
# mem_limit: 1000000000
75+
# mem_swappiness: 0
7476

7577
# elasticsearch:
7678
# image: elasticsearch:7.12.0
@@ -87,13 +89,13 @@ services:
8789
# redis:
8890
# image: redis:6-alpine
8991
# cpu_count: 1
90-
# mem_limit: 100000000
92+
# mem_limit: 500000000
9193
# mem_swappiness: 0
9294

9395
# memcached:
9496
# image: memcached:1-alpine
9597
# cpu_count: 1
96-
# mem_limit: 100000000
98+
# mem_limit: 500000000
9799
# mem_swappiness: 0
98100

99101
# mailhog:

0 commit comments

Comments
 (0)