Skip to content

Commit 7dc58d8

Browse files
committed
Updated next deployment
1 parent a4aa9b5 commit 7dc58d8

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

deploy/next/stack.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
version: '3.9'
22

3-
volumes:
4-
nccrd_next:
5-
driver: local
6-
73
networks:
84
nccrd_next:
95
name: nccrd_next
@@ -57,13 +53,15 @@ services:
5753
cpus: "1"
5854
memory: 150M
5955
volumes:
60-
- nccrd_next:/nccrd-assets
56+
- type: bind
57+
source: /mnt/nccrd/data/next
58+
target: /nccrd-assets
6159
environment:
6260
FILES_DIRECTORY: /nccrd-assets
6361
LOG_REQUEST_DETAILS: 'false'
6462
LOG_SQL_QUERIES: 'false'
6563
MSSQL_DATABASE: nccrd_next
66-
MSSQL_HOSTNAME: 192.168.118.194
64+
MSSQL_HOSTNAME: mssql.saeon.int
6765
MSSQL_PASSWORD: $MSSQL_PASSWORD
6866
MSSQL_PORT: 1433
6967
MSSQL_USERNAME: $MSSQL_USERNAME

deploy/stable/stack.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
version: '3.9'
22

3-
volumes:
4-
nccrd_stable:
5-
driver: local
6-
73
networks:
84
nccrd_stable:
95
name: nccrd_stable
@@ -57,13 +53,15 @@ services:
5753
cpus: "2"
5854
memory: 250M
5955
volumes:
60-
- nccrd_stable:/nccrd-assets
56+
- type: bind
57+
source: /mnt/nccrd/data/stable
58+
target: /nccrd-assets
6159
environment:
6260
FILES_DIRECTORY: /nccrd-assets
6361
LOG_REQUEST_DETAILS: 'false'
6462
LOG_SQL_QUERIES: 'false'
6563
MSSQL_DATABASE: nccrd_stable
66-
MSSQL_HOSTNAME: 192.168.118.194
64+
MSSQL_HOSTNAME: mssql.saeon.int
6765
MSSQL_PASSWORD: $MSSQL_PASSWORD
6866
MSSQL_PORT: 1433
6967
MSSQL_USERNAME: $MSSQL_USERNAME

0 commit comments

Comments
 (0)