Skip to content

Commit

Permalink
Make network structure and dependencies reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
tsdicloud committed Aug 19, 2023
1 parent 33f3435 commit c2ec76b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
18 changes: 13 additions & 5 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ services:
command: /var/www/html/.devcontainer/entrypoint.sh
ports:
- 80:80
- 8080:8080
- 8025:8025
depends_on:
- db
- mailhog

db:
image: postgres
Expand All @@ -23,14 +24,21 @@ services:
PGDATA: /data/postgres
volumes:
- ../../data/db:/data/postgres
network_mode: service:nextclouddev
expose:
- "5432"

adminer:
image: adminer
restart: always
network_mode: service:nextclouddev
ports:
- 8080:8080
depends_on:
- db

mailhog:
image: mailhog/mailhog
restart: always
network_mode: service:nextclouddev
ports:
- 8025:8025


2 changes: 1 addition & 1 deletion .devcontainer/nmc.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'htaccess.RewriteBase' => '/',
'default_language' => 'de_DE',
'integrity.check.disabled' => true, // not recommended for prod, but for customisation
'config_is_read_only' => true,
// 'config_is_read_only' => true,
'auth.authtoken.v1.disabled' => true,
'sharing.force_share_accept' => true,
'status-email-message-provider' => '\\OCA\\EmailTemplateExample\\MessageProvider',
Expand Down

0 comments on commit c2ec76b

Please sign in to comment.