Skip to content

Commit

Permalink
feat: Implement Docker Compose configuration file for building a test…
Browse files Browse the repository at this point in the history
… environment

Signed-off-by: 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
  • Loading branch information
brlin-tw committed Sep 30, 2024
1 parent ed37d78 commit daebf87
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Docker Compose configuration file
#
# References:
#
# * Compose Specification | Compose file reference | Reference | Docker Docs
# https://docs.docker.com/compose/compose-file/
#
# Copyright 2024 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
# SPDX-License-Identifier: CC-BY-SA-4.0
name: project-name
services:
# Environment for testing the project
test-environment:
container_name: project-name-test
hostname: project-name-test
image: ubuntu:24.04
volumes:
- type: bind
source: ./
target: /project
environment:
- http_proxy
- https_proxy
- HTTP_PROXY
- HTTPS_PROXY

# Set this environment variable to your local timezone settings
# for proper operation timestamp
#- TZ=CST-8
command: sleep infinity

0 comments on commit daebf87

Please sign in to comment.