Initial Commit
This commit is contained in:
Executable
+38
@@ -0,0 +1,38 @@
|
||||
services:
|
||||
db2:
|
||||
image: "icr.io/db2_community/db2"
|
||||
platform: "linux/amd64"
|
||||
container_name: "Db2-Server"
|
||||
#hostname: "db2"
|
||||
restart: "on-failure"
|
||||
command: ["/bin/bash", "-c", "echo \"db2 started successfully\""]
|
||||
ports:
|
||||
- "22022:22"
|
||||
- "50000:50000"
|
||||
environment:
|
||||
LICENSE: "accept"
|
||||
DB2INSTANCE: "db2inst1"
|
||||
DB2INST1_PASSWORD: "987400Kmh"
|
||||
TO_CREATE_SAMPLEDB: false
|
||||
DBNAME: "MAIN"
|
||||
BLU: "false"
|
||||
ENABLE_ORACLE_COMPATABILITY: false
|
||||
IS_OSXFS: "true"
|
||||
UPDATEAVIL: "NO"
|
||||
HADR_ENABLED: "false"
|
||||
PERSISTENT_HOME: false
|
||||
volumes:
|
||||
- './docker/db2:/database'
|
||||
networks:
|
||||
- db2
|
||||
privileged: true
|
||||
|
||||
networks:
|
||||
db2:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
db2:
|
||||
driver: local
|
||||
|
||||
|
||||
Reference in New Issue
Block a user