Add Docker Compose config and 389ds service
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
refs #2
This commit is contained in:
parent
fa3b53d3b3
commit
778babcc05
|
@ -294,6 +294,7 @@ GEM
|
||||||
zeitwerk (2.6.6)
|
zeitwerk (2.6.6)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
|
ruby
|
||||||
x86_64-linux
|
x86_64-linux
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
web: bin/rails server -p 3000
|
web: bin/rails server -b 0.0.0.0 -p 3000
|
||||||
css: yarn build:css --watch
|
css: yarn build:css --watch
|
||||||
|
|
|
@ -26,13 +26,13 @@ authorizations: &AUTHORIZATIONS
|
||||||
## Environment
|
## Environment
|
||||||
|
|
||||||
development:
|
development:
|
||||||
host: 192.168.56.5
|
host: <%= ENV["LDAP_HOST"] || "localhost" %>
|
||||||
port: 389
|
port: <%= ENV["LDAP_PORT"] || "389" %>
|
||||||
attribute: cn
|
attribute: cn
|
||||||
base: ou=kosmos.org,cn=users,dc=kosmos,dc=org
|
base: ou=kosmos.org,cn=users,dc=kosmos,dc=org
|
||||||
admin_user: "cn=Directory Manager"
|
admin_user: "cn=Directory Manager"
|
||||||
admin_password: localpass
|
admin_password: <%= ENV["LDAP_ADMIN_PASSWORD"] %>
|
||||||
# ssl: false
|
ssl: <%= ENV["LDAP_USE_TLS"] || "false" %>
|
||||||
# <<: *AUTHORIZATIONS
|
# <<: *AUTHORIZATIONS
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
services:
|
||||||
|
ldap:
|
||||||
|
image: 4teamwork/389ds:latest
|
||||||
|
volumes:
|
||||||
|
- ./tmp/389ds:/data
|
||||||
|
environment:
|
||||||
|
DS_DM_PASSWORD: passthebutter
|
||||||
|
SUFFIX_NAME: "dc=kosmos,dc=org"
|
||||||
|
web:
|
||||||
|
build: .
|
||||||
|
tty: true
|
||||||
|
command: bash -c "rm -f tmp/pids/server.pid && bin/dev"
|
||||||
|
volumes:
|
||||||
|
- .:/akkounts
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
environment:
|
||||||
|
RAILS_ENV: development
|
||||||
|
LDAP_HOST: ldap
|
||||||
|
LDAP_PORT: 3389
|
||||||
|
LDAP_ADMIN_PASSWORD: passthebutter
|
||||||
|
LDAP_USE_TLS: "false"
|
||||||
|
depends_on:
|
||||||
|
- ldap
|
Loading…
Reference in New Issue