Skip to content

Commit 9c2044c

Browse files
committed
only run init once
1 parent 43b65f0 commit 9c2044c

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

docker-compose.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ services:
2828
- ./scripts:/scripts:ro
2929
- ./docker-compose.yaml:/docker-compose.yaml:ro
3030
command: /scripts/generate-secrets.sh
31+
profiles: [none]
3132
ojs:
3233
image: ghcr.io/libops/ojs:main
3334
build: .
@@ -49,8 +50,6 @@ services:
4950
- ojs-files:/var/www/files:rw
5051
- ojs-public:/var/www/ojs/public:rw
5152
depends_on:
52-
init:
53-
condition: service_completed_successfully
5453
mariadb:
5554
condition: service_started
5655
mariadb:
@@ -59,6 +58,3 @@ services:
5958
- mariadb-data:/var/lib/mysql:rw
6059
secrets:
6160
- source: DB_ROOT_PASSWORD
62-
depends_on:
63-
init:
64-
condition: service_completed_successfully

0 commit comments

Comments
 (0)