leave services uncommented, add /akkounts/node_modules to volume mapping as a directory to explicitly exclude

This commit is contained in:
Nick Jennings 2023-06-23 17:21:43 +02:00
parent 652ed5f7e3
commit fdf3218f88

View File

@ -12,57 +12,59 @@ services:
DS_DM_PASSWORD: passthebutter DS_DM_PASSWORD: passthebutter
SUFFIX_NAME: "dc=kosmos,dc=org" SUFFIX_NAME: "dc=kosmos,dc=org"
# redis: redis:
# restart: always restart: always
# image: redis:7-alpine image: redis:7-alpine
# networks: networks:
# - internal_network - internal_network
# healthcheck: healthcheck:
# test: ['CMD', 'redis-cli', 'ping'] test: ['CMD', 'redis-cli', 'ping']
# volumes: volumes:
# - ./tmp/redis:/data - ./tmp/redis:/data
# web: web:
# build: . build: .
# tty: true tty: true
# command: bash -c "rm -f /akkounts/tmp/pids/server.pid; bin/dev" command: bash -c "rm -f /akkounts/tmp/pids/server.pid; bin/dev"
# volumes: volumes:
# - .:/akkounts - .:/akkounts
# networks: - /akkounts/node_modules
# - external_network networks:
# - internal_network - external_network
# ports: - internal_network
# - "3000:3000" ports:
# environment: - "3000:3000"
# RAILS_ENV: development environment:
# REDIS_URL: redis://redis:6379/0 RAILS_ENV: development
# LDAP_HOST: ldap PRIMARY_DOMAIN: kosmos.org
# LDAP_PORT: 3389 REDIS_URL: redis://redis:6379/0
# LDAP_ADMIN_PASSWORD: passthebutter LDAP_HOST: ldap
# LDAP_USE_TLS: "false" LDAP_PORT: 3389
# depends_on: LDAP_ADMIN_PASSWORD: passthebutter
# - ldap LDAP_USE_TLS: "false"
# - redis depends_on:
- ldap
- redis
# sidekiq: sidekiq:
# build: . build: .
# command: bash -c "bundle exec sidekiq -C config/sidekiq.yml" command: bash -c "bundle exec sidekiq -C config/sidekiq.yml"
# volumes: volumes:
# - .:/akkounts - .:/akkounts
# networks: networks:
# - internal_network - internal_network
# environment: environment:
# RAILS_ENV: development RAILS_ENV: development
# REDIS_URL: redis://redis:6379/0 REDIS_URL: redis://redis:6379/0
# LDAP_HOST: ldap LDAP_HOST: ldap
# LDAP_PORT: 3389 LDAP_PORT: 3389
# LDAP_ADMIN_PASSWORD: passthebutter LDAP_ADMIN_PASSWORD: passthebutter
# LDAP_USE_TLS: "false" LDAP_USE_TLS: "false"
# LAUNCHY_DRY_RUN: true LAUNCHY_DRY_RUN: true
# BROWSER: /dev/null BROWSER: /dev/null
# depends_on: depends_on:
# - ldap - ldap
# - redis - redis
# phpldapadmin: # phpldapadmin:
# image: osixia/phpldapadmin:0.9.0 # image: osixia/phpldapadmin:0.9.0