Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mblaschke committed Oct 16, 2015
1 parent 910e040 commit 2b86f97
Show file tree
Hide file tree
Showing 15 changed files with 10 additions and 9 deletions.
10 changes: 4 additions & 6 deletions docker-compose.yml
@@ -1,17 +1,15 @@
main:
build: docker/samson
build: samson
links:
- mysql
ports:
- 9080:9080
volumes:
- ./deployment:/opt/deployment/
env_file:
- docker-env.yml

mysql:
build: docker/mysql
build: mysql
ports:
- 13306:3306
- 23306:3306
env_file:
- docker-env.yml
- docker-env.yml
File renamed without changes.
File renamed without changes.
9 changes: 6 additions & 3 deletions docker/samson/Dockerfile → samson/Dockerfile
Expand Up @@ -5,15 +5,18 @@ ENV PYTHONPATH /opt/ansible/lib
ENV ANSIBLE_LIBRARY /opt/ansible/library

# Setup samson
ADD config/database.yml /app/config/database.yml
ADD config/samson.conf /app/.env
ADD conf/database.yml /app/config/database.yml
ADD conf/samson.conf /app/.env

# Install additional deployment packages
COPY bin/install.sh /install.sh
RUN bash /install.sh

# Deploy deployment scripts
COPY deployment/ /opt/deployment/

# Deploy ssh configuration/keys
COPY config/ssh/ /root/.ssh/
COPY conf/ssh/ /root/.ssh/

# Run
COPY bin/entrypoint.sh /entrypoint.sh
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2b86f97

Please sign in to comment.