Skip to content

Commit

Permalink
Updated next deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
zachsa committed Jul 21, 2023
1 parent a4aa9b5 commit 7dc58d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions deploy/next/stack.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
version: '3.9'

volumes:
nccrd_next:
driver: local

networks:
nccrd_next:
name: nccrd_next
Expand Down Expand Up @@ -57,13 +53,15 @@ services:
cpus: "1"
memory: 150M
volumes:
- nccrd_next:/nccrd-assets
- type: bind
source: /mnt/nccrd/data/next
target: /nccrd-assets
environment:
FILES_DIRECTORY: /nccrd-assets
LOG_REQUEST_DETAILS: 'false'
LOG_SQL_QUERIES: 'false'
MSSQL_DATABASE: nccrd_next
MSSQL_HOSTNAME: 192.168.118.194
MSSQL_HOSTNAME: mssql.saeon.int
MSSQL_PASSWORD: $MSSQL_PASSWORD
MSSQL_PORT: 1433
MSSQL_USERNAME: $MSSQL_USERNAME
Expand Down
10 changes: 4 additions & 6 deletions deploy/stable/stack.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
version: '3.9'

volumes:
nccrd_stable:
driver: local

networks:
nccrd_stable:
name: nccrd_stable
Expand Down Expand Up @@ -57,13 +53,15 @@ services:
cpus: "2"
memory: 250M
volumes:
- nccrd_stable:/nccrd-assets
- type: bind
source: /mnt/nccrd/data/stable
target: /nccrd-assets
environment:
FILES_DIRECTORY: /nccrd-assets
LOG_REQUEST_DETAILS: 'false'
LOG_SQL_QUERIES: 'false'
MSSQL_DATABASE: nccrd_stable
MSSQL_HOSTNAME: 192.168.118.194
MSSQL_HOSTNAME: mssql.saeon.int
MSSQL_PASSWORD: $MSSQL_PASSWORD
MSSQL_PORT: 1433
MSSQL_USERNAME: $MSSQL_USERNAME
Expand Down

0 comments on commit 7dc58d8

Please sign in to comment.