ClaptrapBot/.devcontainer/docker-compose.yml

49 lines
1.5 KiB
YAML
Raw Normal View History

Ui Rebuild (#199) * Cleanup * Build auth provider * Implement discord login * Add jwt service + add liquibase * :hammer: Add jwt filter * :hammer: Update user info in db on login * :hammer: Add swagger * :hammer: Add dev container * :hammer: Add dev container * :hammer: Fix changelog ? * :hammer: Fix openApi * :hammer: Add guildcontroller with getMutualGuilds * :hammer: Change multual guilds url * :hammer: Add invite link api * :hammer: migrate env to config prop * :lock: Add security expression for guild * :lock: Add dev mode to auth * :hammer: Add textchannel and voicechannel endpoint * :hammer: Add setting description endpoint * :hammer: Add getRole endpoint * :hammer: Return only visible voice/text channels * :hammer: Add value endpoint * :robot: Change ci * :hammer: Add canManage to guild list * :ambulance: Load user of guild on load + fetch on api call for mutuals guilds * :ambulance: Fix auto_voice_channel_title type * :ambulance: Fix swagger url * :ambulance: Fix setting type * :hammer: Add setting post * Fix blanck string in db * :hammer: Add music status api enpoint * :ambulance: Fix permission * :hammer: Change interact condition * :hammer: Add connect api command * :hammer: Add disconnect endpoint * :hammer: Audio refracto * :hammer: Big refracto * :hammer: Refracto libs * :hammer: Rebuild http request with new client * :hammer: Refracto + add skip, pause, resume, stop endpoint * :hammer: Add endpoint * :ambulance: Fix permission * Update build.yml * Update plugin org.liquibase.gradle to v2.1.1 [skip ci] (#186) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update plugin nebula.lint to v16.26.0 [skip ci] (#185) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency org.liquibase:liquibase-core to v4.12.0 [skip ci] (#184) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency org.liquibase.ext:liquibase-hibernate5 to v4.12.0 [skip ci] (#183) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update actions/checkout action to v3 [skip ci] (#187) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update actions/download-artifact action to v3 [skip ci] (#188) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * :ambulance: Fix permission * Update tj-actions/branch-names action to v5.3 [skip ci] (#195) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update plugin nebula.lint to v17 [skip ci] (#194) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update docker/setup-buildx-action action to v2 [skip ci] (#193) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update docker/login-action action to v2 [skip ci] (#192) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update docker/build-push-action action to v3 [skip ci] (#191) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency openjdk to v18 [skip ci] (#190) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update actions/setup-java action to v3 [skip ci] (#189) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Clean for release * :arrow_up: Update dependency org.apache.logging.log4j:log4j-bom to v2.17.2 (#198) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * :arrow_up: Update dependency com.sedmelluq:lavaplayer to v1.3.78 (#197) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-30 18:36:21 +02:00
version: '3.8'
volumes:
mysql-data:
services:
app:
container_name: javadev
build:
context: .
dockerfile: Dockerfile
args:
# Update 'VARIANT' to pick an version of Java: 11, 17.
# Append -bullseye or -buster to pin to an OS version.
# Use -bullseye variants on local arm64/Apple Silicon.
VARIANT: "17"
# Options
INSTALL_MAVEN: "false"
MAVEN_VERSION: ""
INSTALL_GRADLE: "true"
GRADLE_VERSION: "7.4.2"
NODE_VERSION: "lts/*"
volumes:
- ..:/workspace:cached
# Overrides default command so things don't shut down after the process ends.
command: sleep infinity
# Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function.
network_mode: service:db
# Uncomment the next line to use a non-root user for all processes.
# user: vscode
# Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
# (Adding the "ports" property to this file will not forward from a Codespace.)
db:
container_name: database
image: mariadb:latest
restart: unless-stopped
volumes:
- mysql-data:/var/lib/mysql
environment:
MARIADB_ROOT_PASSWORD: mariadb_root
MARIADB_PASSWORD: claptrap
MARIADB_USER: claptrap
MARIADB_DATABASE: claptrap
# Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally.
# (Adding the "ports" property to this file will not forward from a Codespace.)