Page History
...
Download: docker-compose.yamlyml
Code Block | ||||
---|---|---|---|---|
| ||||
version: '3'
services:
db:
image: mysql:8.0
command: --default-authentication-plugin=mysql_native_password
volumes:
- db_data:/var/lib/mysql
ports:
- "3306:3306"
networks:
- js7
environment:
MYSQL_ROOT_PASSWORD: js7rootpassword
MYSQL_DATABASE: js7db
MYSQL_USER: js7user
MYSQL_PASSWORD: js7password
restart: "no"
js7-joc-primary:
depends_on:
- db
container_name: js7-joc-primary
image: sosberlin/js7:joc-${JS7VERSION}
hostname: js7-joc-primary
ports:
- "17446:4446"
networks:
- js7
volumes:
- js7-joc-primary-config:/var/sos-berlin.com/js7/joc/resources/joc
- js7-joc-primary-logs:/var/sos-berlin.com/js7/joc/logs
environment:
RUN_JS_JAVA_OPTIONS: -Xmx256m
RUN_JS_USER_ID: "${JS7USERID}:${JS7GROUPID}"
restart: "no"
networks:
js7:
external: true
volumes:
db_data:
driver: local
driver_opts:
type: none
device: ${PWD}/db_data
o: bind
js7-joc-primary-config:
driver: local
driver_opts:
type: none
device: ${PWD}/js7-joc-primary-config
o: bind
js7-joc-primary-logs:
driver: local
driver_opts:
type: none
device: ${PWD}/js7-joc-primary-logs
o: bind
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
mkdir db_data mkdir js7-agent-primary mkdir js7-controller-primary mkdir js7-joc-primary-config mkdir js7-joc-primary-logs |
...
Code Block | ||||
---|---|---|---|---|
| ||||
.
├── .env
├── db_data
├── docker-compose.yml
├── hibernate.cfg.xml
├── js7-agent-primary
├── js7-controller-primary
├── js7-joc-primary-config
└── js7-joc-primary-logs |
...
Overview
Content Tools