mirror of
https://github.com/Misterblue/opensim-docker.git
synced 2026-07-29 19:03:18 +00:00
* ISSUE-17: fixes obsolete "version" attribute inside docker-compose.yml files * added .gitignore with some general basic settings * dockerfiles fixes - fixes missing permissions for .sh files inside the images - fixes COPY of multiple files (missing trailing slash '/' on target path - fixes use of hardcoded username:usergroup on COPY --chown * dockerfiles fixes - fixes COPY of multiple files (missing trailing slash '/' on target path * fixes missing OS_CONFIGKEY on setEnvironment.sh files --------- Co-authored-by: Lordfox <c.haendler@lordfox.de>
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
networks:
|
|
localnet:
|
|
driver: bridge
|
|
|
|
services:
|
|
dbservice:
|
|
# Use MariaDB
|
|
image: mariadb:latest
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD:
|
|
MARIADB_ROOT_PASSWORD:
|
|
# Parameters added to invocation.
|
|
# Default is to flush after every operation which slows Docker image down.
|
|
# This flushes log once a second.
|
|
command: --innodb_flush_log_at_trx_commit=2 --sync_binlog=0
|
|
volumes:
|
|
# NOTE: you must create this directory before starting the simulator
|
|
# This mysql data directory can be placed anywhere
|
|
- ~/opensim-sql-data:/var/lib/mysql
|
|
networks:
|
|
- localnet
|
|
# restart: always
|
|
|
|
opensim:
|
|
depends_on:
|
|
- dbservice
|
|
image: opensim-herbal3d
|
|
environment:
|
|
OS_CONFIG:
|
|
volumes:
|
|
- ./config-$OS_CONFIG:/home/opensim/opensim/bin/config
|
|
# Loden generated asset directory tree is stored externally
|
|
- ./LodenAssets:/home/opensim/opensim/bin/LodenAssets
|
|
networks:
|
|
- localnet
|
|
ports:
|
|
- 9000:9000/tcp
|
|
- 9000:9000/udp
|
|
- 9010:9010/tcp
|
|
- 9010:9010/udp
|
|
|
|
# restart: always
|