Skip to content

Commit 40fbdc5

Browse files
committed
upd: remove unused networks
1 parent 4e24ee5 commit 40fbdc5

2 files changed

Lines changed: 3 additions & 23 deletions

File tree

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,7 @@ services:
133133
db:
134134
condition: service_healthy
135135
ports:
136-
- '8069:8069'
137-
networks:
138-
- frontend
139-
- dbnet
136+
- '127.0.0.1:8069:8069'
140137
environment:
141138
OCONF__options__log_level: debug
142139
OCONF__options__db_filter: odoodb$
@@ -151,8 +148,6 @@ services:
151148

152149
db:
153150
image: postgres:18.0-alpine
154-
networks:
155-
- dbnet
156151
environment:
157152
POSTGRES_DB: odoodb
158153
POSTGRES_PASSWORD: odoo
@@ -172,8 +167,4 @@ services:
172167
volumes:
173168
filestore:
174169
db:
175-
176-
networks:
177-
frontend:
178-
dbnet:
179170
```

tests/data/project_demo/docker-compose.yaml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ services:
33
image: docker.io/library/postgres:${PYTEST_PG_VERSION:-9.3}-alpine
44
tty: false
55
stdin_open: false
6-
networks:
7-
- dbnet
86
environment:
97
POSTGRES_DB: odoodb
108
POSTGRES_PASSWORD: odoo
@@ -27,11 +25,8 @@ services:
2725
db:
2826
condition: service_healthy
2927
ports:
30-
- '8080:8080'
31-
- '8069:8069'
32-
networks:
33-
frontend:
34-
dbnet:
28+
- '127.0.0.1:8080:8080'
29+
- '127.0.0.1:8069:8069'
3530
environment:
3631
OCONF__options__log_level: debug
3732
OCONF__options__db_filter: odoodb$
@@ -44,9 +39,3 @@ services:
4439
OCONF__options__max_cron_threads: 0
4540
OCONF__options__without_demo: all
4641
hostname: odoo
47-
48-
49-
networks:
50-
frontend:
51-
driver: bridge
52-
dbnet:

0 commit comments

Comments
 (0)